InfoBar constructor
const
InfoBar({
- Key? key,
- required Widget title,
- Widget? content,
- Widget? action,
- InfoBarSeverity severity = InfoBarSeverity.info,
- InfoBarThemeData? style,
- bool isLong = false,
- 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);