FrostedBottomBar constructor

const FrostedBottomBar({
  1. required Widget body(
    1. BuildContext context,
    2. ScrollController controller
    ),
  2. required Widget child,
  3. Color bottomBarColor = Colors.black,
  4. double end = 0,
  5. double start = 2,
  6. double bottom = 10,
  7. Duration duration = const Duration(milliseconds: 300),
  8. Curve curve = Curves.linear,
  9. double width = 300,
  10. BorderRadius borderRadius = BorderRadius.zero,
  11. Alignment alignment = Alignment.bottomCenter,
  12. dynamic onBottomBarShown()?,
  13. dynamic onBottomBarHidden()?,
  14. bool reverse = false,
  15. bool scrollOpposite = false,
  16. bool hideOnScroll = true,
  17. StackFit fit = StackFit.loose,
  18. double sigmaX = 10,
  19. double sigmaY = 10,
  20. double opacity = 0.5,
  21. 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);