Inspired constructor

const Inspired({
  1. Key? key,
  2. required Color background,
  3. required List<TabItem> items,
  4. required Color color,
  5. required Color colorSelected,
  6. bool fixed = false,
  7. double height = 40,
  8. int? initialActive,
  9. Curve curve = Curves.easeInOut,
  10. double? cornerRadius,
  11. void onTap(
    1. int index
    )?,
  12. ChipStyle? chipStyle,
  13. double? elevation,
  14. double? top = -18,
  15. double? curveSize,
  16. double? containerSize,
  17. ItemStyle? itemStyle = ItemStyle.circle,
  18. bool animated = true,
  19. bool isAnimated = true,
  20. Color? shadowColor,
  21. double? padTop = 12,
  22. double? padbottom = 12,
  23. double? pad = 4,
  24. double? radius = 0,
  25. int? fixedIndex = 0,
  26. double iconSize = 22,
  27. CountStyle? countStyle,
  28. TextStyle? titleStyle,
  29. double? sizeInside = 48,
  30. Duration? duration,
  31. 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);