progress_stepper 2.0.0 copy "progress_stepper: ^2.0.0" to clipboard
progress_stepper: ^2.0.0 copied to clipboard

Flutter package for showing custom progress stepper. You can use either the built in shapes (Arrow or Chevron) or can specify own shapes, using the builder.

example/lib/main.dart

import 'package:example/chevron_stepper_demo.dart';
import 'package:flutter/material.dart';
import 'package:progress_stepper/progress_stepper.dart';

import 'blunt_stepper_demo.dart';
import 'custom_stepper_demo.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) => MaterialApp(
        title: 'Progress Stepper Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: const MyHomePage(title: 'Progress Stepper'),
      );
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) => Scaffold(
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body: const Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              ChevronStepperDemoWidget(),
              Divider(),
              SizedBox(
                height: 10,
              ),
              CustomStepperDemoWidget(),
              Divider(),
              SizedBox(
                height: 10,
              ),
              BluntStepperDemoWidget(),
            ],
          ),
        ), // This trailing comma makes auto-formatting nicer for build methods.
      );
}
53
likes
0
pub points
88%
popularity

Publisher

unverified uploader

Flutter package for showing custom progress stepper. You can use either the built in shapes (Arrow or Chevron) or can specify own shapes, using the builder.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on progress_stepper