Skip to content

Commit

Permalink
Migrate deprecated buttons in 102-starter (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonmh committed May 13, 2021
1 parent 125c55a commit b7e3115
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mdc_100_series/lib/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class _LoginPageState extends State<LoginPage> {
ButtonBar(
children: <Widget>[
// TODO: Add a beveled rectangular border to CANCEL (103)
FlatButton(
TextButton(
child: Text('CANCEL'),
onPressed: () {
_usernameController.clear();
Expand All @@ -70,7 +70,7 @@ class _LoginPageState extends State<LoginPage> {
),
// TODO: Add an elevation to NEXT (103)
// TODO: Add a beveled rectangular border to NEXT (103)
RaisedButton(
ElevatedButton(
child: Text('NEXT'),
onPressed: () {
Navigator.pop(context);
Expand Down

0 comments on commit b7e3115

Please sign in to comment.