Skip to content

A lightweight package for displaying customizable step progress indicators in a user interface.

License

Notifications You must be signed in to change notification settings

TalebRafiepour/step_progress

Repository files navigation

StepProgress

Pub Version GitHub Stars GitHub opened issues GitHub closed issues GitHub License

StepProgress is a lightweight package designed to display step progress indicators for completing multi-step tasks in a user interface. It provides customizable widgets to visually represent the progress of a task, making it easier for users to understand their current position and the steps remaining.

Showcase

step_progress_demo

Installation

To use StepProgress, you need to add it to your pubspec.yaml file:

dependencies:
  step_progress: latest_version

Then, run flutter pub get to install the package.

Usage

To use StepProgress in your Flutter app, first import the package:

import 'package:step_progress/step_progress.dart';

Initialize your StepProgressController

final _stepProgressController =
      StepProgressController(totalStep: 4);

Then pass your StepProgressController to the StepProgress widget and use it

StepProgress(
            controller: _stepProgressController,
            style: const StepProgressStyle(
              strokeColor: Color(0xff04A7B8),
              valueColor: Colors.white,
              backgroundColor: Color(0xff04A7B5),
              tickColor: Color(0xff04A7B5),
            ),
            onStepChanged: (index) {
              debugPrint('on step changed: $index');
            },
          ),

Support the Package

We appreciate your support for the StepProgress package! You can help us by:

  • Liking the package on pub.dev.
  • Starring the repository on GitHub.
  • Reporting any issues or bugs you encounter here.

Your contributions and feedback are invaluable to us!

License

StepProgress is released under the BSD-3-Clause License.

Contact Me 📨

Feel free to reach out to me through the following platforms:

I look forward to connecting with you!

About

A lightweight package for displaying customizable step progress indicators in a user interface.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published