Fixed the leading IconButton size (#110722)

This commit is contained in:
Qun Cheng
2022-09-01 12:03:13 -07:00
committed by GitHub
parent 69b2dd0fdc
commit 4125a3a8f0
7 changed files with 145 additions and 23 deletions

View File

@@ -108,7 +108,7 @@ class _${blockName}DefaultsM3 extends ButtonStyle {
});
@override
VisualDensity? get visualDensity => Theme.of(context).visualDensity;
VisualDensity? get visualDensity => VisualDensity.standard;
@override
MaterialTapTargetSize? get tapTargetSize => Theme.of(context).materialTapTargetSize;