flutter_circle_stepper 0.0.2 copy "flutter_circle_stepper: ^0.0.2" to clipboard
flutter_circle_stepper: ^0.0.2 copied to clipboard

A simple and functional circle stepper for Flutter to visualise progress.

example/lib/main.dart

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

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

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

  @override
  State<MainApp> createState() => _MainAppState();
}

class _MainAppState extends State<MainApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: SafeArea(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.end,
            children: [
              FlutterCircleStepper(
                stepperLength: 5,
                progressColor: Colors.blue,
                unfinishedColor: Colors.grey,
                // callbacks
                onStepTapped: (index) => debugPrint('Stepper at $index tapped'),
                onNext: () => debugPrint('Next pressed'),
                onPrevious: () => debugPrint('Previous pressed'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
0
likes
160
points
246
downloads

Publisher

unverified uploader

Weekly Downloads

A simple and functional circle stepper for Flutter to visualise progress.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_circle_stepper