Alert.info constructor

const Alert.info({
  1. Key? key,
  2. bool visible = true,
  3. ValueChanged<bool>? onChanged,
  4. AlertTransitionBuilder? transitionBuilder = AlertTransition.crossFade,
  5. AlertLayoutBuilder layoutBuilder = AlertLayout.defaults,
  6. Widget? title,
  7. Widget? message,
  8. Widget? icon = AlertIcons.info,
  9. Widget? action,
  10. AlertVariant? variant,
  11. EdgeInsetsGeometry? margin,
  12. EdgeInsetsGeometry? padding,
  13. double? spacing,
  14. double? elevation,
  15. BorderRadius? borderRadius,
  16. double? iconSize,
  17. AlertStyle? style,
  18. Curve? curve,
  19. Duration? duration,
})

Implementation

const Alert.info({
  super.key,
  this.visible = true,
  this.onChanged,
  this.transitionBuilder = AlertTransition.crossFade,
  this.layoutBuilder = AlertLayout.defaults,
  this.title,
  this.message,
  this.icon = AlertIcons.info,
  this.action,
  this.variant,
  this.margin,
  this.padding,
  this.spacing,
  this.elevation,
  this.borderRadius,
  this.iconSize,
  this.style,
  this.curve,
  this.duration,
}) : severity = AlertSeverity.info;