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

working demo of my package

Installation Guide

  1. Install or update fading_marquee_widget:
    flutter pub add fading_marquee_widget
    
  2. Or else in your pubspec.yaml file, add below code (and run an implicit flutter 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.