MyoroScrollableGradientConfiguration class
Configuration for gradient overlays in scrollable widgets.
- Annotations
-
- @immutable
- @myoroModel
Constructors
- MyoroScrollableGradientConfiguration({bool enabled = true, Alignment? begin, Alignment? end})
-
Creates a new instance of MyoroScrollableGradientConfiguration.
const
- MyoroScrollableGradientConfiguration.fake()
- Creates a fake instance of MyoroScrollableGradientConfiguration for testing purposes.
Properties
- begin → Alignment?
-
The offset at which stop 0.0 of the gradient is placed.
final
- enabled → bool
-
Whether gradient overlays are enabled.
final
- end → Alignment?
-
The offset at which stop 1.0 of the gradient is placed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → MyoroScrollableGradientConfiguration
-
no setterinherited
Methods
-
copyWith(
{bool? enabled, Alignment? begin, bool beginProvided = true, Alignment? end, bool endProvided = true}) → MyoroScrollableGradientConfiguration -
inherited
-
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