FadeScrollTheme class
Theme configuration for FadeScroll.
Constructors
-
FadeScrollTheme.new({double? startOffset, double? endOffset, List<
Color> ? gradient}) -
Creates a FadeScrollTheme.
const
Properties
- endOffset → double?
-
The distance from the end before fading begins.
final
-
gradient
→ List<
Color> ? -
The gradient colors used for the fade.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startOffset → double?
-
The distance from the start before fading begins.
final
Methods
-
copyWith(
{ValueGetter< double?> ? startOffset, ValueGetter<double?> ? endOffset, ValueGetter<List< ? gradient}) → FadeScrollThemeColor> ?> - Creates a copy of this theme but with the given fields replaced.
-
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.
override