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

Selectable icon based buttons with styling and state management.

iconic_button #

An alternative to Flutter ToggleButtons which supports modular selectable button usage without having to know the size of the button or having to group buttons. These buttons focus on icons with optional labels in chips, expansion tiles and simple buttons. Additionally, this package exposes a controller to programmatically enable, disable, select or unselect buttons without calling setState().

This package uses ButtonStyles, MaterialStates, and InkWell to follow Material Design themes but is extremely customizable and is based loosely on the ElevatedButton.

What this button offers:

1 Optionally labeled icons. Icons are great but on their own can be mystifying. Built in tool tips. Implicit animations. Default built-ins for Material and InkWell parameters that make reactive designs easier.

2 Selection and disabling methods which give direct, explicit control over button states.

3 Resettable properties: Icon, label, and style can be changed in reaction to your own custom events.

This package was built to serve needs I have found in other projects of mine. I am making it available publicly as I have benefited from the hard work of others.

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

2
likes
0
pub points
21%
popularity

Publisher

verified publishermobilityapplied.com

Selectable icon based buttons with styling and state management.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection_value_notifier, flutter

More

Packages that depend on iconic_button