AnimatedNotchBottomBar constructor
const
AnimatedNotchBottomBar({
- Key? key,
- required NotchBottomBarController notchBottomBarController,
- required List<
BottomBarItem> bottomBarItems, - required ValueChanged<
int> onTap, - required double kIconSize,
- Color color = Colors.white,
- TextStyle? itemLabelStyle,
- double? shadowElevation,
- bool showShadow = true,
- bool showLabel = true,
- required double kBottomRadius,
- Shader? notchShader,
- bool showBlurBottomBar = false,
- double blurOpacity = 0.5,
- double blurFilterX = 5.0,
- double blurFilterY = 10.0,
- Color notchColor = Colors.white,
- int durationInMilliSeconds = 300,
- double bottomBarWidth = 500,
- bool removeMargins = false,
- double bottomBarHeight = 62.0,
- double elevation = 5.0,
- bool showBottomRadius = true,
- bool showTopRadius = true,
- Gradient? notchGradient = null,
- int? maxLine,
- TextOverflow? textOverflow,
- TextAlign? textAlign,
- TextDirection? textDirection,
- double topMargin = 10.0,
- 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);