tuldokator 1.0.8 copy "tuldokator: ^1.0.8" to clipboard
tuldokator: ^1.0.8 copied to clipboard

A lightweight Flutter widget for customizable dot indicators, commonly used to show the current page in a PageView.

Tuldokator ยท tool-doh-kay-tor

A lightweight Flutter widget dot indicators for PageView tracking.

Showcase ๐Ÿš€ #

Getting started ๐Ÿ‘‡ #

Properties #

  • Tuldokator
    • itemCount: The total number of dots to be displayed.
    • controller: A controller for manipulating the state of the Tuldokator.

Usage #

Tuldokator(
  itemCount: 5,
  controller: _tuldokatorController,
)
  • TuldokatorController

    • A controller class that can be used to programmatically control the Tuldokator.
  • Constructors

    • TuldokatorController
      • initialValue: The initial selected dot index.
  • Methods

    • toIndex(int index): Sets the currently selected dot index to the provided index.

Example #

final _tuldokatorController = TuldokatorController(initialValue: 0);

// Change the selected dot index programmatically
_tuldokatorController.toIndex(3);
4
likes
150
points
58
downloads

Publisher

verified publisherjohnnydevv.com

Weekly Downloads

A lightweight Flutter widget for customizable dot indicators, commonly used to show the current page in a PageView.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on tuldokator