FlashBar constructor

FlashBar({
  1. Key? key,
  2. EdgeInsets padding = const EdgeInsets.all(16),
  3. Widget? title,
  4. required Widget message,
  5. Widget? icon,
  6. bool shouldIconPulse = true,
  7. Color? leftBarIndicatorColor,
  8. Widget? primaryAction,
  9. List<Widget>? actions,
  10. bool showProgressIndicator = false,
  11. AnimationController? progressIndicatorController,
  12. Color? progressIndicatorBackgroundColor,
  13. 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);