reusable_app_bar 0.0.6
reusable_app_bar: ^0.0.6 copied to clipboard
A customizable Flutter package providing advanced AppBar widgets with flexible layouts, profile avatars, background images, and more.
Changelog #
All notable changes to this project will be documented in this file.
0.0.5 #
0.0.4 #
0.0.2 #
Jul 15, 2025 #
✨ Added #
StackedAppBar: Stack-based flexible app bar with support for overlay widgets such as avatar, buttons, or any custom widgets.StackedAvatarAppBar: Specialized app bar supporting an overlaid avatar with extensive customization (radius, position, background, etc.).BottomMiddleAvatarTabbedScaffold: Enhanced version ofBottomMiddleAvatarScaffoldwith built-in support forTabBarandTabBarView, enabling tabbed content layout under avatar-based headers.
♻️ Refactored #
- Unified naming conventions across all app bar classes (
leading→leadingWidget,actionsList→actions,bgColor→backgroundColor, etc.). - Improved parameter naming for avatar positioning (
avatarTop,avatarLeft,avatarRight,avatarBottom) and image configuration (imageSource,imgBgColor,imgRadius). - Improved
BottomMiddleAvatarScaffoldlayout and removed commented/unused code for cleaner structure and maintainability.
✅ Improved #
- Better default values and null-safety for customizable parameters like
radius,alignment, andtext style. - Center alignment logic for avatar and title widgets.
- Extended all custom app bars to implement
PreferredSizeWidgetproperly, making them usable in theappBarparameter ofScaffold.
0.0.1 #
Initial release #
- Introduced the
reusable_app_barpackage with the following features:AppSimpleAppBarfor simple customizable app barsBottomMiddleProfileRoundedAppBarfor app bars with a bottom-positioned avatarBottomMiddleAvatarScaffoldfor a scaffold with a background and middle-bottom avatarAppPopupMenuButtonfor easy implementation of a popup menuAppSearchFieldto add a search field with toggle functionalityAppCircleAvatarfor displaying an avatar with custom image sources and styling
Customization options: #
- Title text or widget
- Leading icon or widget
- Action list support
- Avatar position and style customization
- Background color or image support
- Elevation and radius customization