StatusIndicator constructor
const
StatusIndicator({ - Key? key,
- Color? color,
- double iconSize = kDefaultStatusIndicatorIconSize,
- Widget? icon,
- bool isLoading = false,
- Color? loadingHighlightColor,
- Color? loadingBaseColor,
- TextStyle? labelStyle,
- Duration duration = const Duration(milliseconds: 1500),
- Curve curve = Curves.easeInOutCirc,
- 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,
});