Skip to content

johnnydevvcodes/tuldokator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

A lightweight Flutter package for PageView dot indicators.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages