MyoroScrollableGradientConfiguration class

Configuration for gradient overlays in scrollable widgets.

Annotations

Constructors

MyoroScrollableGradientConfiguration.new({bool enabled = true, double size = 20.0, Color color = Colors.transparent, 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
color Color
Color of the gradient overlay.
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
size double
Size of the gradient overlay in logical pixels.
final

Methods

copyWith({bool? enabled, double? size, Color? color, 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