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 4a5b3ca

Browse files
Undo flat button edit and redo material button edit
1 parent c070e80 commit 4a5b3ca

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

‎README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -557,8 +557,7 @@ MaterialButton(
557557
splashColor: Colors.blue[900],
558558
disabledColor: Colors.grey,
559559
disabledTextColor: Colors.white,
560-
highlightColor: Colors.orangeAccent,
561-
child: Text('Flat Button'),
560+
child: Text('Material Button'),
562561
),
563562
```
564563

@@ -571,13 +570,12 @@ FlatButton(
571570
onPressed: () {
572571
debugPrint('I am Awesome');
573572
},
574-
shape: const StadiumBorder(),
575-
textColor: Colors.black,
576-
color: Colors.blue[300],
577-
splashColor: Colors.blue[900],
573+
textColor: Colors.white,
574+
color: Colors.blueAccent,
578575
disabledColor: Colors.grey,
579576
disabledTextColor: Colors.white,
580-
child: Text('Material Button'),
577+
highlightColor: Colors.orangeAccent,
578+
child: Text('Flat Button'),
581579
),
582580
```
583581

0 commit comments

Comments
(0)

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