BadgeTab constructor

const BadgeTab({
  1. Key? key,
  2. required String state,
  3. Widget? icon,
  4. int? initialCount,
  5. Color? backgroundColor,
  6. Color? textColor,
  7. double? smallSize,
  8. double? largeSize,
  9. TextStyle? textStyle,
  10. EdgeInsetsGeometry? padding,
  11. Alignment? alignment,
  12. Offset? offset,
  13. bool? isLabelVisible = true,
})

Implementation

const BadgeTab(
    {super.key,
    required this.state,
    this.icon,
    this.initialCount,
    this.backgroundColor,
    this.textColor,
    this.smallSize,
    this.largeSize,
    this.textStyle,
    this.padding,
    this.alignment,
    this.offset,
    this.isLabelVisible = true})
    : rememberCount = false;