StatusIndicator constructor

const StatusIndicator({
  1. Key? key,
  2. Color? color,
  3. double iconSize = kDefaultStatusIndicatorIconSize,
  4. Widget? icon,
  5. bool isLoading = false,
  6. Color? loadingHighlightColor,
  7. Color? loadingBaseColor,
  8. TextStyle? labelStyle,
  9. Duration duration = const Duration(milliseconds: 1500),
  10. Curve curve = Curves.easeInOutCirc,
  11. required Widget label,
})

Implementation

const StatusIndicator({
  super.key,
  this.color,
  this.iconSize = kDefaultStatusIndicatorIconSize,
  this.icon,
  this.isLoading = false,
  this.loadingHighlightColor,
  this.loadingBaseColor,
  this.labelStyle,
  this.duration = const Duration(milliseconds: 1500),
  this.curve = Curves.easeInOutCirc,
  required this.label,
});