fine_stepper 0.1.0+1 copy "fine_stepper: ^0.1.0+1" to clipboard
fine_stepper: ^0.1.0+1 copied to clipboard

A horizontal stepper that does the job just fine

example/lib/main.dart

import 'package:fine_stepper/fine_stepper.dart';
import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(),
        body: FineStepper(
          onFinish: () => Future.delayed(const Duration(seconds: 2)),
          steps: [
            StepItem(
              builder: (context) => StepBuilder(
                child: Text('Step ${FineStepper.of(context).stepIndex}'),
              ),
            ),
            StepItem(
              builder: (context) => StepBuilder(
                child: Text('Step ${FineStepper.of(context).stepIndex}'),
              ),
            ),
            StepItem(
              builder: (context) => StepBuilder(
                child: Text('Step ${FineStepper.of(context).stepIndex}'),
              ),
            )
          ],
        ),
      ),
    );
  }
}
4
likes
0
pub points
77%
popularity

Publisher

unverified uploader

A horizontal stepper that does the job just fine

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on fine_stepper