mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-19 10:33:44 +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,
|
BuildContext context,
|
||||||
) {
|
) {
|
||||||
var theme = Theme.of(context);
|
var theme = Theme.of(context);
|
||||||
return FloatingActionButton.large(
|
return FloatingActionButton(
|
||||||
backgroundColor: theme.primaryColor,
|
backgroundColor: theme.primaryColor,
|
||||||
onPressed: onPressed,
|
onPressed: onPressed,
|
||||||
child: Icon(
|
elevation: 0,
|
||||||
|
child: const Icon(
|
||||||
Icons.add,
|
Icons.add,
|
||||||
size: 44,
|
|
||||||
color: theme.colorScheme.onPrimary,
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue