FrostedBottomBar constructor
const
FrostedBottomBar({
- required Widget body(
- BuildContext context,
- ScrollController controller
- required Widget child,
- Color bottomBarColor = Colors.black,
- double end = 0,
- double start = 2,
- double bottom = 10,
- Duration duration = const Duration(milliseconds: 300),
- Curve curve = Curves.linear,
- double width = 300,
- BorderRadius borderRadius = BorderRadius.zero,
- Alignment alignment = Alignment.bottomCenter,
- dynamic onBottomBarShown()?,
- dynamic onBottomBarHidden()?,
- bool reverse = false,
- bool scrollOpposite = false,
- bool hideOnScroll = true,
- StackFit fit = StackFit.loose,
- double sigmaX = 10,
- double sigmaY = 10,
- double opacity = 0.5,
- Key? key,
Implementation
const FrostedBottomBar({
required this.body,
required this.child,
this.bottomBarColor = Colors.black,
this.end = 0,
this.start = 2,
this.bottom = 10,
this.duration = const Duration(milliseconds: 300),
this.curve = Curves.linear,
this.width = 300,
this.borderRadius = BorderRadius.zero,
this.alignment = Alignment.bottomCenter,
this.onBottomBarShown,
this.onBottomBarHidden,
this.reverse = false,
this.scrollOpposite = false,
this.hideOnScroll = true,
this.fit = StackFit.loose,
this.sigmaX = 10,
this.sigmaY = 10,
this.opacity = 0.5,
Key? key,
}) : super(key: key);