FlashBar constructor
FlashBar({
- Key? key,
- EdgeInsets padding = const EdgeInsets.all(16),
- Widget? title,
- required Widget message,
- Widget? icon,
- bool shouldIconPulse = true,
- Color? leftBarIndicatorColor,
- Widget? primaryAction,
- List<
Widget> ? actions, - bool showProgressIndicator = false,
- AnimationController? progressIndicatorController,
- Color? progressIndicatorBackgroundColor,
- Animation<
Color> ? progressIndicatorValueColor,
Implementation
FlashBar({
Key? key,
this.padding = const EdgeInsets.all(16),
this.title,
required this.message,
this.icon,
this.shouldIconPulse = true,
this.leftBarIndicatorColor,
this.primaryAction,
this.actions,
this.showProgressIndicator = false,
this.progressIndicatorController,
this.progressIndicatorBackgroundColor,
this.progressIndicatorValueColor,
}) : super(key: key);