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

A Flutter package that provides a widget for automatically scrolling text, similar to the scrolling song names seen in music players. This package allows you to customize the scrolling speed and text [...]

Scrollable Text #

Scrollable Text is a Flutter package that provides a widget for automatically scrolling text, similar to the scrolling song names seen in music players. This package allows you to customize the scrolling speed and text style.

Features #

  • Automatic scrolling of text.
  • Adjustable scrolling speed.
  • Customizable text style, including font size, color, and weight.

Getting started #

To use this package, add scrollable_text as a dependency in your pubspec.yaml file:

dependencies:
  scrollable_text: ^0.0.1

## Usage

Here is a code snippet showing how to use the `ScrollableText` widget:

```dart
import 'package:flutter/material.dart';
import 'package:scrollable_text/scrollable_text.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text('Scrollable Text Example')),
        body: Center(
          child: ScrollableText(
            text: 'This is an example of scrollable text in a Flutter app!',
            scrollSpeed: 10.0, // Adjust the speed of scrolling
          ),
        ),
      ),
    );
  }
}
...
1
likes
0
points
274
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that provides a widget for automatically scrolling text, similar to the scrolling song names seen in music players. This package allows you to customize the scrolling speed and text style, including font size, color, and weight.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on scrollable_text