running_text 0.1.0
running_text: ^0.1.0 copied to clipboard
Flutter widget "running text". Allows running an string list. Provides customizations including two horizontal directions, velocity, fading when appearing or disappearing.
Flutter widget "running text". Allows running an string list. Provides customizations including two horizontal directions, velocity, fading when appearing or disappearing.
Features #
Usage #
This is a minimalistic example:
RunningTextView(
data: RunningTextModel([
"Learn how to find target keywords",
"Learn how to find target keywords for any page with our keyword research guide."
])
)
Full options:
RunningTextView(
data: RunningTextModel([
"Learn how to find target keywords",
"Learn how to find target keywords for any page with our keyword research guide."],
textStyle: const TextStyle(fontSize: 15),
velocity: 50,
direction: RunningTextDirection.leftToRight,
fadeSide: RunningTextFadeSide.both
)
)
Note #
If you use Running Text in AppBar as Title, you need to adjust titleTextStyle to match the textStyle data of Running Text