createInformation static method

Flushbar createInformation({
  1. required String message,
  2. String? title,
  3. Duration duration = const Duration(seconds: 3),
})

Get an information notification flushbar

Implementation

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