Revert "[Re-land#2] Button padding M3 (#119498)" (#119597)

This reverts commit 530c3f2d13.
This commit is contained in:
Casey Hillers
2023-01-30 20:37:21 -08:00
committed by GitHub
parent 504e5652f0
commit 7ba440655a
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'}',
),
),