step_progress 1.0.7 copy "step_progress: ^1.0.7" to clipboard
step_progress: ^1.0.7 copied to clipboard

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

example/lib/main.dart

import 'package:example/example_one/example_one.dart';
import 'package:example/example_two/example_two.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'FlutterStepProgressDemo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: [
            ElevatedButton(
              onPressed: () {
                Navigator.push(
                  context,
                  MaterialPageRoute(
                    builder: (_) => const ExampleOne(),
                  ),
                );
              },
              child: const Text('Example One'),
            ),
            const SizedBox(height: 20),
            ElevatedButton(
              onPressed: () {
                Navigator.push(
                  context,
                  MaterialPageRoute(
                    builder: (_) => const ExampleTwo(),
                  ),
                );
              },
              child: const Text('Example Two'),
            ),
          ],
        ),
      ),
    );
  }
}
39
likes
0
points
2.81k
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on step_progress