FloatingNavbarDecoration constructor
FloatingNavbarDecoration({
- Color? backgroundColor,
- Color? unselectedIconColor,
- Color? selectedIconColor,
- EdgeInsetsGeometry? margin,
- BorderRadius? borderRadius,
- double? height,
- bool? showSelectedLabels,
- bool? isExtended,
Implementation
FloatingNavbarDecoration(
{Color? backgroundColor,
Color? unselectedIconColor,
Color? selectedIconColor,
EdgeInsetsGeometry? margin,
BorderRadius? borderRadius,
double? height,
bool? showSelectedLabels,
bool? isExtended})
: super(
backgroundColor: backgroundColor,
borderRadius: borderRadius,
height: height ?? kFloatingNavbarHeight,
/// margin for the floaiting navbar defaults to EdgeInsets.symmetric(horizontal: 48.0, vertical: 20),
///
margin: margin,
unselectedIconColor: unselectedIconColor,
selectedIconColor: selectedIconColor,
showSelectedLabels: showSelectedLabels ?? true,
isExtended: isExtended ?? false,
);