my_cool_package 0.0.1 copy "my_cool_package: ^0.0.1" to clipboard
my_cool_package: ^0.0.1 copied to clipboard

A Flutter package for a customizable gradient button widget.

My Cool Package #

A Flutter package providing a customizable gradient button widget with animation and icon support.

Pub Version License: MIT

my_cool_package offers a GradientButton widget that allows developers to create visually appealing buttons with gradient backgrounds, customizable text styles, border radius, padding, gradient direction, and optional icons. It includes a subtle scale animation on press for a modern user experience.

Features #

  • Customizable Gradient: Choose any list of colors for the gradient background.
  • Flexible Styling: Adjust border radius, padding, and text style.
  • Gradient Direction: Control the gradient’s start and end alignment (e.g., top-left to bottom-right).
  • Icon Support: Optionally include an icon alongside the button text.
  • Press Animation: Subtle scale animation when the button is pressed.
  • Cross-Platform: Works on Android, iOS, and web.

Installation #

Add my_cool_package to your pubspec.yaml:

dependencies:
  my_cool_package: ^0.0.1
0
likes
150
points
12
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for a customizable gradient button widget.

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on my_cool_package