-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add selectable and toggleable Icon(Action)Button (#501)
Introduces two variants for `IconButton` and `IconActionButton`: * `SelectableIcon(Action)Button` * `ToggleableIcon(Action)Button` What they do should be self-evident. Other changes include adding the ability to provide `PainterHint`s to `IconActionButton`s, adding a standalone demo for the new icon buttons, separating and cleaning out states and styling helpers. Note: the main difference between an `IconButton` and its equivalent `IconActionButton` is that the latter is built upon the former, and handles automatically: * Tooltips (if defined) * Stroke modifiers (for selectable and toggleable) * Icon loading
- Loading branch information
Showing
10 changed files
with
691 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.