OverflowMarqueeTheme class
Theme configuration for OverflowMarquee scrolling text displays.
Provides comprehensive styling and behavior options for marquee animations including scroll direction, timing, fade effects, and animation curves. All properties are optional and will fall back to default values when not specified.
Animation Properties:
- direction: Horizontal or vertical scrolling axis
- duration: Complete cycle time for one full scroll
- delayDuration: Pause time before restarting animation
- curve: Easing function for smooth animation transitions
Visual Properties:
- step: Pixel step size for scroll speed calculation
- fadePortion: Edge fade effect intensity (0.0 to 1.0)
Example:
OverflowMarqueeTheme(
direction: Axis.horizontal,
duration: Duration(seconds: 5),
delayDuration: Duration(seconds: 1),
fadePortion: 0.1,
curve: Curves.easeInOut,
)
Constructors
Properties
- curve → Curve?
-
Animation curve of the scroll.
final
- delayDuration → Duration?
-
Delay before scrolling starts again.
final
- direction → Axis?
-
Scrolling direction of the marquee.
final
- duration → Duration?
-
Duration of one full scroll cycle.
final
- fadePortion → double?
-
Portion of the child to fade at the edges.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- step → double?
-
Step size used to compute scroll speed.
final
Methods
-
copyWith(
{ValueGetter< Axis?> ? direction, ValueGetter<Duration?> ? duration, ValueGetter<Duration?> ? delayDuration, ValueGetter<double?> ? step, ValueGetter<double?> ? fadePortion, ValueGetter<Curve?> ? curve}) → OverflowMarqueeTheme -
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