diff --git a/lib/src/bottom_bar.dart b/lib/src/bottom_bar.dart index e67cc69..7de11fe 100644 --- a/lib/src/bottom_bar.dart +++ b/lib/src/bottom_bar.dart @@ -343,18 +343,24 @@ class _StylishBottomBarState extends State geometry: _geometryListenable!, notchMargin: isUsingMaterial3 ? 6 : 8, ), - child: innerWidget( - context, - additionalBottomPadding, - widget.fabLocation, - listWidget, - options is AnimatedBarOptions ? options.barAnimation : null, + child: Container( + decoration: BoxDecoration( + borderRadius: widget.borderRadius, + gradient: widget.gradient, + color: widget.backgroundColor ?? Colors.white, + ), + child: innerWidget( + context, + additionalBottomPadding, + widget.fabLocation, + listWidget, + options is AnimatedBarOptions ? options.barAnimation : null, + ), ), ), ) : Material( elevation: widget.elevation, - // color: widget.backgroundColor ?? Colors.white, borderRadius: widget.borderRadius, child: Container( decoration: BoxDecoration(