Remove deprecated FlatButton (#98545)

This commit is contained in:
Kate Lovett
2022-04-11 16:22:47 -05:00
committed by GitHub
parent 9b6e4f01ab
commit ff5e27f0fc
13 changed files with 71 additions and 1463 deletions

View File

@@ -43,7 +43,7 @@ names. They correspond to methods from the `MaterialLocalizations` or
```dart
Widget build(BuildContext context) {
return FlatButton(
return TextButton(
child: Text(
MaterialLocalizations.of(context).cancelButtonLabel,
),