Revert "M3 Button padding adjustments (#118449)" (#118598)

This reverts commit 8c2fdb803e.
This commit is contained in:
godofredoc
2023-01-16 22:09:06 -08:00
committed by GitHub
parent 8c2fdb803e
commit f22280a0c8
9 changed files with 26 additions and 328 deletions

View File

@@ -98,7 +98,7 @@ class _AppBarExampleState extends State<AppBarExample> {
label: const Text('shadow color'),
),
const SizedBox(width: 5),
ElevatedButton(
ElevatedButton.icon(
onPressed: () {
if (scrolledUnderElevation == null) {
setState(() {
@@ -111,7 +111,8 @@ class _AppBarExampleState extends State<AppBarExample> {
});
}
},
child: Text(
icon: const Icon(Icons.add),
label: Text(
'scrolledUnderElevation: ${scrolledUnderElevation ?? 'default'}',
),
),