fix: remove shadow from floatingactionbutton

This commit is contained in:
Jacques 2025-02-17 15:02:34 +01:00
parent 2221f8286a
commit 90a681ea48

View file

@ -78,13 +78,12 @@ Widget _defaultFloatingActionButton(
BuildContext context,
) {
var theme = Theme.of(context);
return FloatingActionButton.large(
return FloatingActionButton(
backgroundColor: theme.primaryColor,
onPressed: onPressed,
child: Icon(
elevation: 0,
child: const Icon(
Icons.add,
size: 44,
color: theme.colorScheme.onPrimary,
),
);
}