appbar_button 1.0.1
appbar_button: ^1.0.1 copied to clipboard
Modern, lightweight, and customizable AppBar buttons for Flutter with tonal, filled, outlined, ghost, elevated, and frosted glass styles, badges, toggles, and grouped capsules.
1.0.1 #
- Migrated Material imports from deprecated
package:flutter/material.dartto the official standalonepackage:material_ui/material_ui.dartpackage for full Flutter 3.47+ / 3.50+ compatibility and zero static analysis warnings on pub.dev. - Migrated Cupertino test imports to
package:cupertino_ui/cupertino_ui.dart. - Hardened edge cases for
BorderRadiusDirectionalsquircle scaling, high-contrastelevatedunified capsules on colored app bars, partialtextStylemerging, customOutlinedBorderclipping, and overlay-free safety.
1.0.0 #
- Initial release of
appbar_button. - Added
AppBarButtonwith six modern visual variants:tonal,filled,outlined,ghost,elevated, and frostedglass. - Added four button shapes (
rounded,squircle,circle, andstadium) and three size presets (small,medium, andlarge). - Added ergonomic named constructors:
AppBarButton.icon,AppBarButton.back,AppBarButton.close,AppBarButton.menu,AppBarButton.pill,AppBarButton.toggle, andAppBarButton.avatar. - Added
AppBarButtonBadgesupporting dot, animated pulse, numeric count (with configurable overflow cap), and custom text labels. - Added built-in press scale micro-interaction, smooth loading indicator transitions, toggle selection animations, keyboard focus rings, RTL awareness, and screen-reader semantics.
- Added
AppBarButtonGroupsupporting both evenly spaced action clusters and unified segmented action capsules. - Added
AppBarButtonThemeandAppBarButtonThemeData(ThemeExtension) for seamless app-wide customization.
