reusable_icon 0.0.2 copy "reusable_icon: ^0.0.2" to clipboard
reusable_icon: ^0.0.2 copied to clipboard

A Flutter package providing reusable floating icon buttons and selectable icons with customizable appearance and interaction.

app_float_button #

A simple and flexible package that provides reusable floating icon buttons with consistent styling and behavior, including selectable state support for toggle-like icons in your Flutter apps.

Features #

  • Reusable styled icon via AppIcon
  • Customizable circular floating icon button with AppIconBtn
  • SelectableIcon widget for toggling UI states with visual feedback

Getting Started #

Add the package to your pubspec.yaml:

dependencies:
  app_float_button: <latest_version>

Usage #

AppIcon #

A minimal reusable Icon with default size.

AppIcon(Icons.add)

AppIconBtn #

A floating circular icon button.

AppIconBtn(
  icon: Icons.edit,
  tooltipTxt: 'Edit Item',
  onPressed: () {
    // Your logic here
  },
)

SelectableIcon #

Use for toggle-like selections.

SelectableIcon(
  isSelected: true,
  selectedIcon: Icons.check,
  unSelectedIcon: Icons.close,
  selectedIconColor: Colors.green,
  unSelectedIconColor: Colors.red,
  selectedCircleColor: Colors.green.shade100,
  unSelectedCircleColor: Colors.red.shade100,
  iconSize: 20.0,
  circleWide: 2.5,
)

License #

MIT License

Contributions #

Feel free to contribute issues or improvements through pull requests.

0
likes
140
points
224
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package providing reusable floating icon buttons and selectable icons with customizable appearance and interaction.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_bloc

More

Packages that depend on reusable_icon