flutter_animation_stepper 1.0.0 copy "flutter_animation_stepper: ^1.0.0" to clipboard
flutter_animation_stepper: ^1.0.0 copied to clipboard

A Flutter package for creating beautiful horizontal steppers with smooth animations and customizable themes.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'data/example_data.dart';
import 'widgets/example_card.dart';

void main() {
  runApp(const ProviderScope(child: MyApp()));
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Animation Stepper Example',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
        useMaterial3: true,
      ),
      home: const ExamplePage(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Animation Stepper Examples'),
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
      ),
      body: ListView.separated(
        padding: const EdgeInsets.all(16),
        itemCount: allExamples.length,
        separatorBuilder: (context, index) => const SizedBox(height: 16),
        itemBuilder: (context, index) {
          final example = allExamples[index];
          return ExampleCard(
            key: ValueKey('example_$index'),
            exampleId: 'example_$index',
            example: example,
          );
        },
      ),
    );
  }
}
0
likes
160
points
159
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for creating beautiful horizontal steppers with smooth animations and customizable themes.

Repository (GitHub)
View/report issues

Topics

#stepper #horizontal-stepper #step-indicator #progress

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_animation_stepper