GlassBottomBarItem constructor

GlassBottomBarItem({
  1. required Widget icon,
  2. required Widget title,
  3. Color? selectedColor,
  4. Color? unselectedColor,
  5. LinearGradient? selectedGradient,
  6. LinearGradient? unselectedGradient,
  7. double selectedIconColorOpacity = 0.5,
  8. double unselectedIconColorOpacity = 0.6,
  9. double? radius,
  10. double? border,
  11. double? blur,
  12. LinearGradient? selectedBorderGradient,
  13. LinearGradient? unselectedBorderGradient,
  14. BorderRadius? borderRadius,
  15. Widget? activeIcon,
})

Implementation

GlassBottomBarItem({
  required this.icon,
  required this.title,
  this.selectedColor,
  this.unselectedColor,
  this.selectedGradient,
  this.unselectedGradient,
  this.selectedIconColorOpacity = 0.5,
  this.unselectedIconColorOpacity = 0.6,
  this.radius,
  this.border,
  this.blur,
  this.selectedBorderGradient,
  this.unselectedBorderGradient,
  this.borderRadius,
  this.activeIcon,
});