CustomSnackbar class

A class to desplay snackbar it uses a singleton instance

Constructors

CustomSnackbar.new()
snackbar Constructor
factory

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

init(BuildContext context) → void
Call this function after initialization of MaterialApp to provide context
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showCustomSnackbar({String? mesg, Color? bgColor, Color? textColor}) → void
show Snackbar with Custom Message
showNoInternetSnackbar() → void
show No internet Snackbar
toString() String
A string representation of this object.
inherited

Operators

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