Skip to content

Commit 81084bc

Browse files
[auto] generate readme contents
1 parent 7bbec03 commit 81084bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ The pubspec file specifies dependencies that the project requires, such as parti
171171

172172
The `main()` function tells Dart where the program starts, and it must be in the file that is considered the "entry point" for the program. By convention, this will be in a file called `main.dart`. This main function can execute any code within it's code block.
173173

174-
The `runApp()` function should return widget that would be attached to the screen as a root of the widget tree that will be rendered.
174+
The `runApp()` function takes (as parameter) widget that would be attached to the screen as a root of the widget tree that will be rendered.
175175

176176
<!-- Update here: /questions/what-is-the-difference-between-main-and-runapp-functions-in-flutter/en-US.mdx -->
177177

0 commit comments

Comments
 (0)