text_marquee

Creator: coderz1093

Last updated:

Add to Cart

Description:

text marquee

Text marquee #














Open source flutter package, Text marquee for flutter apps.
Getting Started #

Installing
Basic Example
Parameters description

Installing #
Add this line to the pubspec.yaml file below the dependencies:
dependencies:
text_marquee: ^0.0.2
copied to clipboard
Now to use, import this package into the desired file as follows:
import 'package:text_marquee/text_marquee.dart';
copied to clipboard
Basic example #
Here is simple example you can use to create with this package:

TextMarquee(
'"Stay close to anything that makes you glad you are alive." -Hafez',
spaceSize: 72,
style: const TextStyle(
color: Colors.white,
fontWeight: FontWeight.w600,
fontSize: 24
),
)
copied to clipboard
If you want to use languages whose letters are arranged from right to left (such as Persian), you must set the rtl value equal to true:
TextMarquee(
'به هر چیزی که شما را از اینکه زنده هستید، خوشحال می کند، نزدیک باشید." -حافظ"',
spaceSize: 72,
rtl: true,
style: const TextStyle(
color: Colors.white,
fontWeight: FontWeight.w600,
fontSize: 24
),
)
copied to clipboard
Parameters description #



Parameter
Default
Description




text String

Text to be scrolled.


style TextStyle
TextStyle()
Text style.


duration Duration?
null
Animation duration.


curve Curve
Curves.linear
Animation curve.


delay Duration
Duration(seconds: 2)
Delay time for scrolling start.


spaceSize double
32
The distance between the original text and its subsequent repetition.


startPaddingSize double
0
Text spacing from the beginning of the widget.


rtl bool
false
If the text is arranged from the right, it should have a value of True.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.