shiny_striped_progress_bar 1.1.0 copy "shiny_striped_progress_bar: ^1.1.0" to clipboard
shiny_striped_progress_bar: ^1.1.0 copied to clipboard

A Flutter package for creating animated progress bars with a striped design and shine effect.

example/lib/main.dart

import 'package:example/example_page.dart';
import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Shiny Striped Progress Bar Example',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.greenAccent),
        useMaterial3: true,
      ),
      home: const HomePage(title: 'Shiny Striped Progress Bar Example'),
    );
  }
}

class HomePage extends StatefulWidget {
  const HomePage({super.key, required this.title});

  final String title;

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          spacing: 15,
          children: <Widget>[
            const Text(
              'Tap the "Example Page" button below to view the animations.',
              textAlign: TextAlign.center,
            ),
            ElevatedButton(
                onPressed: () {
                  Navigator.push(
                    context,
                    MaterialPageRoute(builder: (context) => ExamplePage()),
                  );
                },
                child: Text('Example Page'))
          ],
        ),
      ),
    );
  }
}
8
likes
160
points
68
downloads

Publisher

verified publisherbahadiryildirimm.com

Weekly Downloads

A Flutter package for creating animated progress bars with a striped design and shine effect.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on shiny_striped_progress_bar