marque_widget 1.0.0 copy "marque_widget: ^1.0.0" to clipboard
marque_widget: ^1.0.0 copied to clipboard

A Flutter widget that scrolls infinitely. Comes with customisation for style, speed, direction, and more. Supports all platforms.

MarqueeWidget #

A Flutter widget that infinitely scrolls its child widget horizontally. MarqueeWidget is highly customizable, offering a range of options including custom scroll directions, durations.

Appreciate the widget? Show some ❤️ and star the repo to support the project!

Features #

  • Infinitely scroll a widget horizontally.
  • Customizable scrolling speed (velocity).
  • Customizable gap between repetitions of the scrolling widget.
  • Optional left-to-right or right-to-left scrolling.
  • Customizable height for the scrolling area.

Installation #

Add marque_widget to your pubspec.yaml:

dependencies:
  marque_widget: ^0.1.0

Then run flutter packages get

Usage #

Here's a simple example to get you started:

import 'package:marque_widget/marque_widget.dart';

MarqueeWidget(
movingWidget: Text('Scrolling text here'),
)

And here's a more advanced example demonstrating the full customizability of the MarqueeWidget:

MarqueeWidget(
movingWidget: Text('Scrolling text here'),
gap: 0.5,
velocity: 100.0,
moveDirectionLtr: true,
height: 50.0,
)

API Reference #

For a detailed list of all available properties and their usage, please refer to the API documentation.

Contributing #

Contributions are welcome! If you have a bug to report or feature to request, please open an issue. If you'd like to contribute code (bug fixes, new features), please open a pull request.

License #

This project is licensed under the MIT License - see the LICENSE file for details.

4
likes
150
points
324
downloads

Publisher

verified publisherayushtripathi.me

Weekly Downloads

A Flutter widget that scrolls infinitely. Comes with customisation for style, speed, direction, and more. Supports all platforms.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on marque_widget