From 90a681ea484a6d789b39f4581f0c12bd49ad68eb Mon Sep 17 00:00:00 2001 From: Jacques Date: Mon, 17 Feb 2025 15:02:34 +0100 Subject: [PATCH] fix: remove shadow from floatingactionbutton --- .../flutter_timeline/lib/src/models/timeline_options.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/flutter_timeline/lib/src/models/timeline_options.dart b/packages/flutter_timeline/lib/src/models/timeline_options.dart index 254b2ca..84f6e5e 100644 --- a/packages/flutter_timeline/lib/src/models/timeline_options.dart +++ b/packages/flutter_timeline/lib/src/models/timeline_options.dart @@ -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, ), ); }