Skip to content

Commit

Permalink
fixed: gradient not applying
Browse files Browse the repository at this point in the history
  • Loading branch information
MarsadMaqsood committed Oct 15, 2024
1 parent 469f47c commit ba5fdcf
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions lib/src/bottom_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -343,18 +343,24 @@ class _StylishBottomBarState extends State<StylishBottomBar>
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(
Expand Down

0 comments on commit ba5fdcf

Please sign in to comment.