KinBottomBar constructor

const KinBottomBar({
  1. Key? key,
  2. int initialIndex = 0,
  3. int? currentIndex,
  4. ValueChanged<int>? onTabChanged,
  5. Color? selectedIconColor,
  6. Color? unselectedIconColor,
  7. Color? selectedLabelColor,
  8. Color? unselectedLabelColor,
  9. double iconSize = 24,
  10. double height = 62,
  11. double borderRadius = 32,
  12. double barBlurSigma = 10,
  13. double selectorBlurSigma = 6,
  14. List<Widget>? items,
  15. List<String>? labels,
  16. TextStyle? labelStyle,
})

Implementation

const KinBottomBar({
  super.key,
  this.initialIndex = 0,
  this.currentIndex,
  this.onTabChanged,
  this.selectedIconColor,
  this.unselectedIconColor,
  this.selectedLabelColor,
  this.unselectedLabelColor,
  this.iconSize = 24,
  this.height = 62,
  this.borderRadius = 32,
  this.barBlurSigma = 10,
  this.selectorBlurSigma = 6,
  this.items,
  this.labels,
  this.labelStyle,
});