progressive_fab 0.0.5 copy "progressive_fab: ^0.0.5" to clipboard
progressive_fab: ^0.0.5 copied to clipboard

A customizable Progressive Floating Action Button (FAB) for Flutter.

progressive_fab #

A Flutter package providing a progressive Floating Action Button (FAB) for your applications.

ProgressiveFab Example

Features #

  • Customizable progressive FAB for Flutter.
  • Easy integration and usage.

Installation #

Add the following to your pubspec.yaml:

dependencies:
  progressive_fab: ^1.0.0

Then run:

flutter pub get

Usage #

Import the package:

import 'package:progressive_fab/progressive_fab.dart';

Use the widget in your app:

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

class MyHomePage extends StatelessWidget {
  final double _progress = 0.5;

  void _incrementProgress() {
    // Your logic to increment progress
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      floatingActionButton: ProgressiveFAB(
        progress: _progress,
        onPressed: _incrementProgress,
        icon: const Icon(Icons.add),
        fabColor: Colors.blue,
        progressColor: Colors.green,
        borderColor: Colors.grey.shade300,
        iconColor: Colors.white,
        size: 80,
        padding: 10,
      ),
      // ...other properties...
    );
  }
}

License #

This project is licensed under the MIT License. See the LICENSE file for details.

4
likes
160
points
42
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

A customizable Progressive Floating Action Button (FAB) for Flutter.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on progressive_fab