CustomNavBar constructor

const CustomNavBar({
  1. Key? key,
  2. Color? color,
  3. double? elevation = 4.0,
  4. NotchedShape? shape,
  5. Clip clipBehavior = Clip.none,
  6. double notchMargin = 4.0,
  7. double? storkeWidth,
  8. required double floatingbuttonsize,
  9. double height = 60.0,
  10. required BottomBarDetails expandableBottomBarDetails,
  11. required bool shouldOpen,
  12. required VoidCallback onTapMenuButton,
  13. Color? floatingButtonColor,
  14. Color? strokeColor,
  15. Widget? activefloatingIcon,
  16. Widget? cancelMenuFloatingIcon,
  17. Duration forwardDuration = const Duration(milliseconds: 500),
  18. Duration reverseDuration = const Duration(milliseconds: 400),
})

Implementation

const CustomNavBar({
  Key? key,
  this.color,
  this.elevation = 4.0,
  this.shape,
  this.clipBehavior = Clip.none,
  this.notchMargin = 4.0,
  this.storkeWidth,
  required this.floatingbuttonsize,
  this.height = 60.0,
  required this.expandableBottomBarDetails,
  required this.shouldOpen,
  required this.onTapMenuButton,
  this.floatingButtonColor,
  this.strokeColor,
  this.activefloatingIcon,
  this.cancelMenuFloatingIcon,
  this.forwardDuration = const Duration(milliseconds: 500),
  this.reverseDuration = const Duration(milliseconds: 400),
})  : assert(elevation == null || elevation >= 0.0),
      super(key: key);