Search packages, repositories and app categories

linear_step_indicator cover
Package detailsv1.0.0+3

linear_step_indicator

A Flutter package for adding beautiful step indicators in your apps.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
2
Likes
53
Pub points
140

Install package

flutter pub add linear_step_indicator

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that provides a sleek, customizable linear step indicator for guiding users through multi-step processes. It supports smooth animations and visual feedback, making it ideal for onboarding flows, checkout processes, or any sequential UI. The indicator is lightweight, easy to integrate, and works across all major platforms including Android, iOS, Web, macOS, Windows, and Linux. With flexible styling options, developers can tailor the appearance to match their app's design language.

Use cases

  • Onboarding flows
  • Checkout processes
  • Form wizards
  • Multi-step surveys
  • Progress tracking

Key features

  • Customizable line and dot styles
  • Smooth animation transitions
  • Cross-platform compatibility
  • Easy integration with Flutter
  • Support for custom colors and sizes
  • Responsive design

Suitable for

  • App developers seeking clean progress indicators
  • Designers wanting consistent UX patterns
  • Projects requiring multi-step navigation
  • Teams building user-friendly workflows
  • Apps with sequential data entry

Considerations

  • Limited to linear progression
  • No built-in validation support
  • Requires manual state management for steps
  • Not suitable for non-linear workflows
  • Minimal documentation beyond basic usage

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

linear_step_indicator

A Flutter package for adding beautiful step indicators in your apps.

Install

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  linear_step_indicator: ^1.0.0+3

Import the package in your project:

import 'package:linear_step_indicator/linear_step_indicator.dart';

Getting Started

Examples:

FullLinearStepIndicator(
          steps: 5,
          lineHeight: 3.5,
          activeNodeColor: Colors.brown,
          inActiveNodeColor: const Color(0xffd1d5d8),
          activeLineColor: Colors.brown,
          inActiveLineColor: const Color(0xffd1d5d8),
          controller: pageController,
          labels: List<String>.generate(STEPS, (index) => "Step ${index + 1}"),
          complete: () {
            //typically, you'd want to put logic that returns true when all the steps
            //are completed here
            return Future.value(true);
          },
        )

Indicator

LinearStepIndicator(
          steps: 3,
          controller: _pageController,
          labels: List<String>.generate(3, (index) => "Step ${index + 1}"),
          complete: () {
            //typically, you'd want to put logic that returns true when all the steps
            //are completed here
            return Future.value(true);
          },
        )

Indicator

StepIndicatorPageView(
        steps: 3,
        indicatorPosition: IndicatorPosition.top,
        labels: List<String>.generate(3, (index) => "Step ${index + 1}"),
        controller: _pageController,
        complete: () {
          //typically, you'd want to put logic that returns true when all the steps
          //are completed here
          return Future.value(true);
        },
        children: List<Widget>.generate(
          3,
          (index) => Container(
            color: Color(0xffffffff),
            child: Center(
              child: Text(
                "Page ${index + 1}",
                style: TextStyle(
                  fontSize: 24,
                  fontWeight: FontWeight.w500,
                ),
              ),
            ),
          ),
        ),
      )

Contributions

Feel free to contribute to this project.

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a feature, please send a pull request.

Categories

Source repository

Projects using this package

No data available yet.