Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
e1d9468d
Commit
e1d9468d
authored
Aug 19, 2016
by
Dan Rubel
Committed by
GitHub
Aug 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update template so that it formats correctly (#5493)
parent
9efb1685
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
main.dart.tmpl
packages/flutter_tools/templates/create/lib/main.dart.tmpl
+7
-7
No files found.
packages/flutter_tools/templates/create/lib/main.dart.tmpl
View file @
e1d9468d
...
@@ -13,10 +13,10 @@ void main() {
...
@@ -13,10 +13,10 @@ void main() {
new MaterialApp(
new MaterialApp(
title: 'Flutter Demo',
title: 'Flutter Demo',
theme: new ThemeData(
theme: new ThemeData(
primarySwatch: Colors.blue
primarySwatch: Colors.blue
,
),
),
home: new FlutterDemo()
home: new FlutterDemo()
,
)
)
,
);
);
}
}
...
@@ -40,16 +40,16 @@ class _FlutterDemoState extends State<FlutterDemo> {
...
@@ -40,16 +40,16 @@ class _FlutterDemoState extends State<FlutterDemo> {
Widget build(BuildContext context) {
Widget build(BuildContext context) {
return new Scaffold(
return new Scaffold(
appBar: new AppBar(
appBar: new AppBar(
title: new Text('Flutter Demo')
title: new Text('Flutter Demo')
,
),
),
body: new Center(
body: new Center(
child: new Text('Button tapped $_counter time${ _counter == 1 ? '' : 's' }.')
child: new Text('Button tapped $_counter time${ _counter == 1 ? '' : 's' }.')
,
),
),
floatingActionButton: new FloatingActionButton(
floatingActionButton: new FloatingActionButton(
onPressed: _incrementCounter,
onPressed: _incrementCounter,
tooltip: 'Increment',
tooltip: 'Increment',
child: new Icon(Icons.add)
child: new Icon(Icons.add)
,
)
)
,
);
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment