Inspired constructor
const
Inspired({
- Key? key,
- required Color background,
- required List<
TabItem> items, - required Color color,
- required Color colorSelected,
- bool fixed = false,
- double height = 40,
- int? initialActive,
- Curve curve = Curves.easeInOut,
- double? cornerRadius,
- void onTap(
- int index
- ChipStyle? chipStyle,
- double? elevation,
- double? top = -18,
- double? curveSize,
- double? containerSize,
- ItemStyle? itemStyle = ItemStyle.circle,
- bool animated = true,
- bool isAnimated = true,
- Color? shadowColor,
- double? padTop = 12,
- double? padbottom = 12,
- double? pad = 4,
- double? radius = 0,
- int? fixedIndex = 0,
- double iconSize = 22,
- CountStyle? countStyle,
- TextStyle? titleStyle,
- double? sizeInside = 48,
- Duration? duration,
- String animateStyle = 'flip',
Implementation
const Inspired({
Key? key,
required this.background,
required this.items,
required this.color,
required this.colorSelected,
this.fixed = false,
this.height = 40,
this.initialActive,
this.curve = Curves.easeInOut,
this.cornerRadius,
this.onTap,
this.chipStyle,
this.elevation,
this.top = -18,
this.curveSize,
this.containerSize,
this.itemStyle = ItemStyle.circle,
this.animated = true,
this.isAnimated = true,
this.shadowColor,
this.padTop = 12,
this.padbottom = 12,
this.pad = 4,
this.radius = 0,
this.fixedIndex = 0,
this.iconSize = 22,
this.countStyle,
this.titleStyle,
this.sizeInside = 48,
this.duration,
this.animateStyle = 'flip',
}) : super(key: key);