Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 90bf043

Browse files
Created Container
1 parent 73de9b2 commit 90bf043

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

‎simple_form/lib/main.dart‎

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,12 @@ class HomePage extends StatelessWidget {
1717
centerTitle: true,
1818
backgroundColor: Colors.green[400],
1919
),
20-
body: Center(
21-
child: RaisedButton.icon(
22-
color: Colors.green,
23-
onPressed: (){print('Mail me');},
24-
icon: Icon(
25-
Icons.mail,
26-
color: Colors.white,
27-
),
28-
label: Text(
29-
'Mail me',
30-
style: TextStyle(
31-
color: Colors.white,
32-
),
33-
)),
20+
body: Container(
21+
color: Colors.amber,
22+
padding: EdgeInsets.fromLTRB(40, 20, 40, 20),
23+
margin: EdgeInsets.all(20),
24+
child: Text('Hello Container', style: TextStyle(color: Colors.white),)
25+
,
3426
),
3527
floatingActionButton: FloatingActionButton(
3628
child: Text('Click'),

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /