CircleBottomNavigationBar constructor

CircleBottomNavigationBar({
  1. Key? key,
  2. required List<TabData> tabs,
  3. required dynamic onTabChangedListener(
    1. int position
    ),
  4. int? initialSelection,
  5. Color? circleColor,
  6. Color? inactiveIconColor,
  7. Color? activeIconColor,
  8. Color? textColor,
  9. Color? barBackgroundColor,
  10. double iconYAxisSpace = -0.5,
  11. double textYAxisSpace = 1,
  12. double itemIconOn = -1,
  13. double itemIconOff = -1,
  14. double itemTextOn = 0,
  15. double itemTextOff = 0,
  16. double circleSize = 60.0,
  17. double barHeight = 60.0,
  18. double arcHeight = 70.0,
  19. double arcWidth = 90.0,
  20. double circleOutline = 10.0,
  21. double shadowAllowance = 20.0,
  22. bool hasElevationShadows = true,
  23. 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,
});