BottomBarDefault constructor
const
BottomBarDefault({
- Key? key,
- required List<
TabItem> items, - required Color backgroundColor,
- List<
BoxShadow> ? boxShadow, - double? blur,
- BorderRadius? borderRadius,
- int indexSelected = 0,
- dynamic onTap(
- int index
- required Color color,
- required Color colorSelected,
- double iconSize = 22,
- TextStyle? titleStyle,
- double? paddingVertical,
- CountStyle? countStyle,
- bool animated = true,
- Duration? duration,
- Curve? curve,
- double? top = 12,
- double? bottom = 12,
- double? pad = 4,
- bool? enableShadow = true,
Implementation
const BottomBarDefault({
Key? key,
required this.items,
required this.backgroundColor,
this.boxShadow,
this.blur,
this.borderRadius,
this.indexSelected = 0,
this.onTap,
required this.color,
required this.colorSelected,
this.iconSize = 22,
this.titleStyle,
this.paddingVertical,
this.countStyle,
this.animated = true,
this.duration,
this.curve,
this.top = 12,
this.bottom = 12,
this.pad = 4,
this.enableShadow = true,
}) : super(key: key);