Revert "[Re-land] Button padding m3 (#118640)" (#118962)

This reverts commit 973cff40b4.
This commit is contained in:
Xilai Zhang
2023-01-23 09:27:10 -08:00
committed by GitHub
parent e71e8daa20
commit 71a42563db
10 changed files with 32 additions and 339 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'}',
),
),