gradient_floating_button 0.0.3 copy "gradient_floating_button: ^0.0.3" to clipboard
gradient_floating_button: ^0.0.3 copied to clipboard

A package that will help you easily create floating buttons with gradient background.

This package allows you to easily create FABs (Floating Action Buttons) with linear & radial gradient background.

Features #

Create FABs with gradient backgrounds using Linear Gradient & Radial Gradient

Screenshots #

"Screenshot_1 "Screenshot_2

Getting Started #

Add this dependency to your pubspec.yaml file.

gradient_floating_button: ^0.0.2
//Add dependency from pub.dev to get latest version.

Usage #

// Use the 'GradientFloatingButton().withLinearGradient()' for Linear Gradient Background
floatingActionButton: GradientFloatingButton().withLinearGradient(
          onTap: _incrementCounter,
          iconWidget: const Icon(
            Icons.add,
            color: Colors.white,
          ),
          alignmentEnd: Alignment.topRight,
          alignmentBegin: Alignment.bottomLeft,
          colors: [Colors.blue, Colors.purpleAccent]),

You can refer complete example from the /example folder.

Having Issues #

File the Issue here

Looking to contribute to this package: #

🤘🏻 Great! Fork the Repo, Update Code, Send a PR. That's all you need to Contribute.

4
likes
140
pub points
67%
popularity

Publisher

verified publisher7span.com

A package that will help you easily create floating buttons with gradient background.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on gradient_floating_button