FlutterSnackBar class
Constructors
- FlutterSnackBar({@cN FlutterKey? key, @c required AnyWidget content, FlutterColor? backgroundColor, double? elevation, @cN FlutterEdgeInsetsGeometry? margin, @cN FlutterEdgeInsetsGeometry? padding, double? width, @cN FlutterShapeBorder? shape, FlutterSnackBarBehavior? behavior, FlutterSnackBarAction? action, AWActions? onVisible})
-
factory
-
FlutterSnackBar.fromJson(Map<
String, dynamic> json) -
factory
Properties
- action → FlutterSnackBarAction?
-
no setterinherited
- backgroundColor → FlutterColor?
-
no setterinherited
- behavior → FlutterSnackBarBehavior?
-
no setterinherited
- content → AnyWidget
-
no setterinherited
- elevation → double?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → FlutterKey?
-
no setterinherited
- margin → FlutterEdgeInsetsGeometry?
-
no setterinherited
- onVisible → AWActions?
-
no setterinherited
- padding → FlutterEdgeInsetsGeometry?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → FlutterShapeBorder?
-
no setterinherited
- width → double?
-
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_FlutterSnackBar value)) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toWidget(
AnyWidgetContext context) → SnackBar -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- unionValue → const String