createInformation static method
Implementation
static ToastMessageBar createInformation(
{required String message,
String? title,
Duration duration = const Duration(seconds: 3)}) {
return ToastMessageBar(
title: title,
message: message,
icon: Icon(
Icons.info_outline,
size: 28.0,
color: Colors.blue[300],
),
leftBarIndicatorColor: Colors.blue[300],
duration: duration,
);
}