FlushbarHelper class

Constructors

FlushbarHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

createAction({required String message, required Widget button, String? title, Duration duration = const Duration(seconds: 3)}) Flushbar
Get a flushbar that can receive a user action through a button.
createError({required String message, String? title, Duration duration = const Duration(seconds: 3)}) Flushbar
Get a error notification flushbar
createInformation({required String message, String? title, Duration duration = const Duration(seconds: 3)}) Flushbar
Get an information notification flushbar
createInputFlushbar({required Form textForm}) Flushbar
Get a flushbar that shows an user input form.
createLoading({required String message, required LinearProgressIndicator linearProgressIndicator, String? title, Duration duration = const Duration(seconds: 3), AnimationController? progressIndicatorController, Color? progressIndicatorBackgroundColor}) Flushbar
createSuccess({required String message, String? title, Duration duration = const Duration(seconds: 3)}) Flushbar
Get a success notification flushbar.