flutter_page_scaffold 0.4.1
flutter_page_scaffold: ^0.4.1 copied to clipboard
A reusable main content area template widget with page titles, section headers, and theme-aware styling.
0.4.1 #
- Fix: Normalize title font size to 20px in both tabbed and non-tabbed modes (was 24px without tabs, 19px with tabs)
- Fix: Remove inconsistent letter spacing in unified bar title
0.4.0 #
- BREAKING: Unified title-tab bar — tabs now render as pill-style chips in the title row instead of an underline tab bar inside the card
- BREAKING: Description text shown as tooltip (hover
?icon) when tabs are present; visible text retained in no-tabs mode - Pill-style tab indicator with rounded chips and subtle primary background tint
- Vertical separator between title and tabs for clean visual grouping
- Title font compacted to 19px in tabbed mode (24px preserved in no-tabs mode)
- Visibility matrix:
showTitleandshowTabsnow independently control unified bar sections - No public API parameters removed — existing code compiles without changes, visual output differs
- Added actions button to example playground
0.2.3 #
- Feat: Add
showCardparameter — set tofalseto disable the card container for dashboard-style layouts - Feat: Add
PageScaffoldScopeInheritedWidget —MainAreaSectionautomatically switches to white background with shadow when card is disabled - Feat: Animated transitions when toggling
showCardon bothMainAreaTemplateandMainAreaSection(300ms ease-in-out)
0.2.2 #
- Feat: Add
maintainStateparameter — set tofalseto dispose unselected tabs instead of keeping all alive viaIndexedStack - Feat: Add
tabTransitionDurationparameter — enables fade-in animation when switching tabs - Feat: Add
tabBarBuildercallback andTabBarBuildertypedef — replace the default tab bar with a fully custom widget - Fix: Use
TickerProviderStateMixinto support runtime animation toggling without ticker errors
0.2.1 #
- Redesign tab bar: moved inside the content card with underline indicator for better visibility
- Increased tab text (14px) and icon (18px) sizes for improved readability
- Added full-width divider between tab bar and content
- Fixed sharp corner artifact on first tab's ink ripple in rounded card
0.2.0 #
- Feat: Add multi-page tab navigation with
tabsparameter andPageTabclass - Feat: Add
showTitleparameter to toggle title row visibility - Feat: Add
showTabsparameter to toggle tab bar visibility - Feat: Add
initialTabIndexandonTabChangedfor tab state management - Uses
IndexedStackto preserve tab state across switches - Fully backward compatible — existing single-page usage unchanged
0.1.1 #
- Fix: Wrap root widget with
Materialto provide Material ancestor for child widgets (e.g.DropdownButton,InkWell,TextField)
0.1.0 #
- Initial release
MainAreaTemplatewidget for page-level layouts with title, description, icon, and actionsMainAreaSectionwidget for grouped content cards with accent-bar headers- Theme-aware styling using
ColorSchemetokens expandedparameter for sections that fill remaining space