flowing_text 0.0.3
flowing_text: ^0.0.3 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:
dependencies:
flowing_text: ^0.0.1
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: FlowingAutoscrollText(
text: 'This is a flowing autoscrooll text!',
style: TextStyle(fontSize: 20, color: Colors.black),
velocity: 50.0,
blankSpace: 100.0,
),
),
),
);
}
}