CircleBottomNavigationBar constructor
CircleBottomNavigationBar({
- Key? key,
- required List<
TabData> tabs, - required dynamic onTabChangedListener(
- int position
- int? initialSelection,
- Color? circleColor,
- Color? inactiveIconColor,
- Color? activeIconColor,
- Color? textColor,
- Color? barBackgroundColor,
- double iconYAxisSpace = -0.5,
- double textYAxisSpace = 1,
- double itemIconOn = -1,
- double itemIconOff = -1,
- double itemTextOn = 0,
- double itemTextOff = 0,
- double circleSize = 60.0,
- double barHeight = 60.0,
- double arcHeight = 70.0,
- double arcWidth = 90.0,
- double circleOutline = 10.0,
- double shadowAllowance = 20.0,
- bool hasElevationShadows = true,
- double blurShadowRadius = 8.0,
Implementation
CircleBottomNavigationBar({
this.key,
required this.tabs,
required this.onTabChangedListener,
this.initialSelection,
this.circleColor,
this.inactiveIconColor,
this.activeIconColor,
this.textColor,
this.barBackgroundColor,
this.iconYAxisSpace = -0.5,
this.textYAxisSpace = 1,
this.itemIconOn = -1,
this.itemIconOff = -1,
this.itemTextOn = 0,
this.itemTextOff = 0,
this.circleSize = 60.0,
this.barHeight = 60.0,
this.arcHeight = 70.0,
this.arcWidth = 90.0,
this.circleOutline = 10.0,
this.shadowAllowance = 20.0,
this.hasElevationShadows = true,
this.blurShadowRadius = 8.0,
});