showInfoFlashbar method
Shows an info flashbar/toast with a customizable info message.
It uses the following theme values for styling:
- dialogBackgroundColor
- textTheme.bodyText2
- iconTheme.size
Implementation
Future<void> showInfoFlashbar({
required String message,
Duration duration = const Duration(seconds: 3),
}) {
return _showFlashbar(
message,
duration: duration,
icon: Icons.info_outline_rounded,
iconColor: Colors.blue.shade400,
);
}