Skip to content

A Flutter step_tracker plugin is collect information from user and display progress through a sequence of steps. this plugin also have privilege for fully customization from user side. like flipkart, amazon, myntra, meesho.

License

Notifications You must be signed in to change notification settings

Roshannahak/step_tracker

Repository files navigation

step_tracker plugin

A Flutter step_tracker plugin is collect information from user and display progress through a sequence of steps. this plugin also have privilege for fully customization from user side.

Usage

Add dependency

Please check the latest version before installation. If there is any problem with the new version, please use the previous version.

dependencies:
  flutter:
    sdk: flutter
  # add step_tracker
  step_tracker: ^{latest version}

Add the following imports to your Dart code

import 'package:step_tracker/step_tracker.dart';

How to use

Simply create a step_tracker widget, and pass the required params and List of steps[]:

StepTracker(
  dotSize: 10,
  selectedColor: Colors.green,
  unSelectedColor: Colors.red,
  stepTrackerType: StepTrackerType.dotVertical,
  pipeSize: 30,
  steps: [
    Steps(title: Text("your text"), state: TrackerState.none),
    Steps(title: Text("your text"), state: TrackerState.complete),
    Steps(title: Text("your text"), state: TrackerState.disabled),
  ],
)
Change tracker state

Here we have three state on Steps Widget complete disabled and one more is none which is default set. Following attributes are below:

state: TrackerState.none
state: TrackerState.complete
state: TrackerState.disable

Types of tracker

In this widget, currently we have two types of tracker indexedVertical & dotVertical, default set is dotVertical.

stepTrackerType: StepTrackerType.indexedVertical
stepTrackerType: StepTrackerType.dotVertical
stepTrackerType: StepTrackerType.indexedHorizontal

Feedback

  • Please raise an issue here.
  • For more information please connect with me.

Contect with me

About

A Flutter step_tracker plugin is collect information from user and display progress through a sequence of steps. this plugin also have privilege for fully customization from user side. like flipkart, amazon, myntra, meesho.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages