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. void onClose()?,
})

Creates an info bar.

Implementation

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