MyoroSnackBarContainerThemeExtension class
- Inheritance
-
- Object
- ThemeExtension<
MyoroSnackBarContainerThemeExtension> - MyoroSnackBarContainerThemeExtension
- Annotations
-
- @immutable
- @myoroThemeExtension
Constructors
- MyoroSnackBarContainerThemeExtension.new({Color? primaryColor, SnackBarBehavior? behavior, EdgeInsets? margin, EdgeInsets? padding, double? elevation, DismissDirection? dismissDirection})
-
const
- MyoroSnackBarContainerThemeExtension.builder()
-
const
- MyoroSnackBarContainerThemeExtension.fake()
Properties
- behavior → SnackBarBehavior?
-
SnackBarBehavior of the container.
final
- dismissDirection → DismissDirection?
-
DismissDirection of the container.
final
- elevation → double?
-
Elevation of the container.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin → EdgeInsets?
-
Margin EdgeInsets of the container.
final
- padding → EdgeInsets?
-
Padding EdgeInsets of the container.
final
- primaryColor → Color?
-
Background color of the container.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → MyoroSnackBarContainerThemeExtension
-
no setterinherited
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{Color? primaryColor, bool primaryColorProvided = true, SnackBarBehavior? behavior, bool behaviorProvided = true, EdgeInsets? margin, bool marginProvided = true, EdgeInsets? padding, bool paddingProvided = true, double? elevation, bool elevationProvided = true, DismissDirection? dismissDirection, bool dismissDirectionProvided = true}) → MyoroSnackBarContainerThemeExtension -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
inherited
-
lerp(
covariant ThemeExtension< MyoroSnackBarContainerThemeExtension> ? other, double t) → MyoroSnackBarContainerThemeExtension -
Linearly interpolate with another ThemeExtension object.
override
-
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