InfoBar constructor

const InfoBar({
  1. Key? key,
  2. required Widget title,
  3. Widget? content,
  4. Widget? action,
  5. InfoBarSeverity severity = InfoBarSeverity.info,
  6. InfoBarThemeData? style,
  7. bool isLong = false,
  8. VoidCallback? onClose,
  9. bool isIconVisible = true,
})

Creates an info bar.

Implementation

const InfoBar({
  super.key,
  required this.title,
  this.content,
  this.action,
  this.severity = InfoBarSeverity.info,
  this.style,
  this.isLong = false,
  this.onClose,
  this.isIconVisible = true,
});