mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Update template comments (#23665)
* Update template comments Make template comments consistent with recent tools changes * Update packages/flutter_tools/templates/app/lib/main.dart.tmpl Co-Authored-By: mit-mit <mit-mit@users.noreply.github.com> * Fix merge conflict
This commit is contained in:
parent
acc591e98b
commit
262faf906f
@ -35,8 +35,9 @@ class MyApp extends StatelessWidget {
|
||||
// application has a blue toolbar. Then, without quitting the app, try
|
||||
// changing the primarySwatch below to Colors.green and then invoke
|
||||
// "hot reload" (press "r" in the console where you ran "flutter run",
|
||||
// or press Run > Flutter Hot Reload in IntelliJ). Notice that the
|
||||
// counter didn't reset back to zero; the application is not restarted.
|
||||
// or simply save your changes to "hot reload" in a Flutter IDE).
|
||||
// Notice that the counter didn't reset back to zero; the application
|
||||
// is not restarted.
|
||||
primarySwatch: Colors.blue,
|
||||
),
|
||||
home: MyHomePage(title: 'Flutter Demo Home Page'),
|
||||
@ -98,9 +99,9 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
// arranges them vertically. By default, it sizes itself to fit its
|
||||
// children horizontally, and tries to be as tall as its parent.
|
||||
//
|
||||
// Invoke "debug paint" (press "p" in the console where you ran
|
||||
// "flutter run", or select "Toggle Debug Paint" from the Flutter tool
|
||||
// window in IntelliJ) to see the wireframe for each widget.
|
||||
// Invoke "debug painting" (press "p" in the console or choose the
|
||||
// "Toggle Debug Paint" command in Android Studio or Visual Studio Code)
|
||||
// to see the wireframe for each widget.
|
||||
//
|
||||
// Column has various properties to control how it sizes itself and
|
||||
// how it positions its children. Here we use mainAxisAlignment to
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user