awesome_stepper 0.1.3 copy "awesome_stepper: ^0.1.3" to clipboard
awesome_stepper: ^0.1.3 copied to clipboard

A Customizable Awesome Stepper with beautiful UI to develop awesome steppers.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'customized_stepper.dart';
import 'default_stepper.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Awesome Stepper',
      home: Home(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Awesome Stepper'),
        centerTitle: true,
      ),
      body: Center(
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.center,
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            ElevatedButton(
                onPressed: () {
                  Navigator.push(
                      context,
                      MaterialPageRoute(
                          builder: (_) => const DefaultStepper()));
                },
                child: const Text('Default Stepper')),
            const SizedBox(
              height: 20,
            ),
            ElevatedButton(
                onPressed: () {
                  Navigator.push(context,
                      MaterialPageRoute(builder: (_) => const CustomStepper()));
                },
                child: const Text('Customized Stepper'))
          ],
        ),
      ),
    );
  }
}
62
likes
90
points
206
downloads

Publisher

verified publishermsaadev.com

Weekly Downloads

A Customizable Awesome Stepper with beautiful UI to develop awesome steppers.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_mobx, mobx, mobx_codegen

More

Packages that depend on awesome_stepper