flowing_text 0.0.1 copy "flowing_text: ^0.0.1" to clipboard
flowing_text: ^0.0.1 copied to clipboard

A Flutter package for smooth scrolling text automation (marquee effect).

Flowing Text A Flutter package for smooth scrolling text (marquee effect). This package helps you easily implement a scrolling text widget with customizable velocity, style, and blank space.

Features Smooth scrolling marquee text. Customizable text style and speed. Ability to control blank space between repeated text. Installation Add this package to your pubspec.yaml file:

yaml Copy Edit dependencies: flowing_text: ^0.0.1 Run the following command to get the package:

bash Copy Edit flutter pub get Usage Import the package into your Dart file:

dart Copy Edit import 'package:flowing_text/flowing_text.dart'; Basic Example dart Copy Edit import 'package:flutter/material.dart'; import 'package:flowing_text/flowing_text.dart';

void main() { runApp(MyApp()); }

class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( appBar: AppBar(title: Text('Flowing Text Example')), body: Center( child: FlowingText( text: 'This is a flowing marquee text!', style: TextStyle(fontSize: 20, color: Colors.black), velocity: 50.0, blankSpace: 100.0, ), ), ), ); } } Class Properties The FlowingText widget comes with the following customizable properties:

text (String): The text to be displayed in the scrolling marquee. style (TextStyle): Text styling (e.g., font size, color, weight). velocity (double): The speed of the scrolling text (measured in pixels per second). blankSpace (double): The space between the end of one repetition and the start of the next.

1
likes
0
points
40
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for smooth scrolling text automation (marquee effect).

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flowing_text