fading_marquee_widget 1.0.2 fading_marquee_widget: ^1.0.2 copied to clipboard
A flutter package to apply the marquee effect for the very long widget.
fading_marquee_widget #
This package I have made for apply the marquee effect for the very long widget.
Appreciate my work? Show some ❤️ and star the repo to support this package.
Here is the working video of this package #
Installation Guide #
- Install or update fading_marquee_widget:
flutter pub add fading_marquee_widget
- Or else in your
pubspec.yaml
file, add below code (and run an implicitflutter pub get
command in terminal):dependencies: fading_marquee_widget: ^1.0.0
Usage in code #
necessary import
import 'package:fading_marquee_widget/fading_marquee_widget.dart';
simple usage
FadingMarqueeWidget(
child: Text(
"very very very very very very very very very very long text.",
style: TextStyle(color: Colors.white),
),
)
full use of the package's customizability
FadingMarqueeWidget(
duration: Duration(seconds: 5),
scrollDirection: Axis.horizontal,
gap: 100,
pause: Duration(milliseconds: 50),
delay: Duration(milliseconds: 50),
disableAnimation: false,
id: "any static id in string to avoid false build",
child: Text(
"Duration of the animation is 5 seconds. The default duration is 10 seconds. very very very very very very very very very very long text.",
style: TextStyle(color: Colors.white),
),
)
For more information about the properties, look at the API reference.