CustomNavBar constructor
const
CustomNavBar({
- Key? key,
- Color? color,
- double? elevation = 4.0,
- NotchedShape? shape,
- Clip clipBehavior = Clip.none,
- double notchMargin = 4.0,
- double? storkeWidth,
- required double floatingbuttonsize,
- double height = 60.0,
- required BottomBarDetails expandableBottomBarDetails,
- required bool shouldOpen,
- required VoidCallback onTapMenuButton,
- Color? floatingButtonColor,
- Color? strokeColor,
- Widget? activefloatingIcon,
- Widget? cancelMenuFloatingIcon,
- Duration forwardDuration = const Duration(milliseconds: 500),
- 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);