Add actionsPadding to dialog theme (#105109)

* add actionsPadding to dialog theme and refactor

* fix typo

* remove trailing spaces
This commit is contained in:
Pierre-Louis
2022-06-01 13:52:18 +00:00
committed by GitHub
parent 180b31dc66
commit 5d10cf550f
4 changed files with 24 additions and 5 deletions

View File

@@ -34,6 +34,9 @@ class _TokenDefaultsM3 extends DialogTheme {
@override
TextStyle? get contentTextStyle => ${textStyle("md.comp.dialog.supporting-text")};
@override
EdgeInsetsGeometry? get actionsPadding => const EdgeInsets.only(left: 24.0, right: 24.0, bottom: 24.0);
}
''';
}