fix: set proper padding for primarybuttons

This commit is contained in:
Jacques 2025-02-17 16:19:50 +01:00
parent cff28d13b5
commit 016e27ebab

View file

@ -134,8 +134,9 @@ Widget _defaultButtonBuilder({
required BuildContext context,
}) {
var theme = Theme.of(context);
return Padding(
padding: const EdgeInsets.symmetric(vertical: 20),
return SafeArea(
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 28),
child: FilledButton(
style: ElevatedButton.styleFrom(
maximumSize: const Size(254, 50),
@ -147,6 +148,7 @@ Widget _defaultButtonBuilder({
style: theme.textTheme.displayLarge,
),
),
),
);
}