AdvanceSnackBar class

Constructors

AdvanceSnackBar({String message = "Advance Snackbar", String tittle = "", Color bgColor = const Color(0xFF323232), Color textColor = const Color(0xFFffffff), Color iconColor = const Color(0xFFffffff), Color dividerColor = Colors.white70, double tittleSize = 18, double textSize = 16, double iconSize = 24.0, FontWeight fontWeight = FontWeight.w500, TextAlign textAlign = TextAlign.left, Duration duration = const Duration(seconds: 4), bool isIcon = false, bool isFixed = true, bool isClosable = true, bool isDivider = true, bool isChildLeft = true, sType type = sType.SUCCESS, Mode mode = Mode.BASIC, IconPosition iconPosition = IconPosition.NORMAL, IconPosition closeIconPosition = IconPosition.NORMAL, VoidCallback? onClick, Widget? icon, Widget? child, double borderRadius = 10, double mHeight = 40, double margin = 20})
const

Properties

bgColor Color
final
borderRadius double
final
child Widget?
final
closeIconPosition IconPosition
final
dividerColor Color
final
duration Duration
final
fontWeight FontWeight
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
final
iconColor Color
final
iconPosition IconPosition
final
iconSize double
final
isChildLeft bool
final
isClosable bool
final
isDivider bool
final
isFixed bool
final
isIcon bool
final
margin double
final
message String
final
mHeight double
final
mode Mode
final
onClick VoidCallback?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textAlign TextAlign
final
textColor Color
final
textSize double
final
tittle String
final
tittleSize double
final
type sType
final

Methods

darken(Color color, [double amount = .1]) Color
lighten(Color color, [double amount = .1]) Color
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show(BuildContext context) → dynamic
toString() String
A string representation of this object.
inherited

Operators

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