AnimatedNotchBottomBar constructor

const AnimatedNotchBottomBar({
  1. Key? key,
  2. required NotchBottomBarController notchBottomBarController,
  3. required List<BottomBarItem> bottomBarItems,
  4. required ValueChanged<int> onTap,
  5. required double kIconSize,
  6. Color color = Colors.white,
  7. TextStyle? itemLabelStyle,
  8. double? shadowElevation,
  9. bool showShadow = true,
  10. bool showLabel = true,
  11. required double kBottomRadius,
  12. Shader? notchShader,
  13. bool showBlurBottomBar = false,
  14. double blurOpacity = 0.5,
  15. double blurFilterX = 5.0,
  16. double blurFilterY = 10.0,
  17. Color notchColor = Colors.white,
  18. int durationInMilliSeconds = 300,
  19. double bottomBarWidth = 500,
  20. bool removeMargins = false,
  21. double bottomBarHeight = 62.0,
  22. double elevation = 5.0,
  23. bool showBottomRadius = true,
  24. bool showTopRadius = true,
  25. Gradient? notchGradient = null,
  26. int? maxLine,
  27. TextOverflow? textOverflow,
  28. TextAlign? textAlign,
  29. TextDirection? textDirection,
  30. double topMargin = 10.0,
  31. double circleMargin = 8.0,
})

Implementation

const AnimatedNotchBottomBar({
  Key? key,
  required this.notchBottomBarController,
  required this.bottomBarItems,
  required this.onTap,
  required this.kIconSize,
  this.color = Colors.white,
  this.itemLabelStyle,
  this.shadowElevation,
  this.showShadow = true,
  this.showLabel = true,
  required this.kBottomRadius,
  this.notchShader,
  this.showBlurBottomBar = false,
  this.blurOpacity = 0.5,
  this.blurFilterX = 5.0,
  this.blurFilterY = 10.0,
  this.notchColor = Colors.white,
  this.durationInMilliSeconds = 300,
  this.bottomBarWidth = 500,
  this.removeMargins = false,
  this.bottomBarHeight = 62.0,
  this.elevation = 5.0,
  this.showBottomRadius = true,
  this.showTopRadius = true,
  this.notchGradient = null,
  this.maxLine,
  this.textOverflow,
  this.textAlign,
  this.textDirection,
  this.topMargin = 10.0,
  this.circleMargin = 8.0,
}) : super(key: key);