mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-19 02:23:46 +02:00
fix: remove shadow from floatingactionbutton
This commit is contained in:
parent
2221f8286a
commit
90a681ea48
1 changed files with 3 additions and 4 deletions
|
@ -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,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue