flutter_page_scaffold 0.6.2 copy "flutter_page_scaffold: ^0.6.2" to clipboard
flutter_page_scaffold: ^0.6.2 copied to clipboard

A reusable main content area template widget with page titles, section headers, and theme-aware styling.

0.6.2 #

Added #

  • PageScaffoldScope.routeStack — exposes the contentNavigator route stack to descendants via InheritedWidget
  • Enables cycle detection: check if a route name already exists before pushing, and popUntil instead to avoid infinite navigation loops

0.6.1 #

Improved #

  • Breadcrumb pill badge floats on the title bar divider line instead of taking up vertical space
  • Card content area no longer shrinks when breadcrumb appears
  • Smaller, more refined breadcrumb styling (12px font, rounded pill with border)
  • Breadcrumb background matches scaffoldBackgroundColor for a clean "cut-through" effect on the divider

Added #

  • Multi-level nested navigation pages in example playground (Device Detail, Port Config, Traffic Monitor, Port Detail)

0.6.0 #

Breaking #

  • REMOVED contentNavigatorShowTabs parameter — the breadcrumb strip now provides navigation unconditionally when contentNavigator is true. Remove this parameter from call sites.

Added #

  • Breadcrumb navigation strip inside the content card — appears when sub-pages are pushed via contentNavigator
  • Each breadcrumb segment is clickable to pop directly to that navigation level
  • Root segment shows tab label (tabbed mode) or "Home" (non-tabbed mode)
  • Horizontal scroll for long breadcrumb trails

Removed #

  • _BackButtonBar widget (replaced by breadcrumb strip)

0.5.0 #

Added #

  • contentNavigator parameter on MainAreaTemplate — opt-in nested navigation that keeps pushed pages within the content card area
  • contentNavigatorShowTabs parameter — controls whether tabs stay visible (Option A, default) or hide with a back button (Option B) when sub-pages are pushed
  • _BackButtonBar widget for Option B title bar mode
  • Example playground toggle for contentNavigator demo

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: showTitle and showTabs now 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 showCard parameter — set to false to disable the card container for dashboard-style layouts
  • Feat: Add PageScaffoldScope InheritedWidget — MainAreaSection automatically switches to white background with shadow when card is disabled
  • Feat: Animated transitions when toggling showCard on both MainAreaTemplate and MainAreaSection (300ms ease-in-out)

0.2.2 #

  • Feat: Add maintainState parameter — set to false to dispose unselected tabs instead of keeping all alive via IndexedStack
  • Feat: Add tabTransitionDuration parameter — enables fade-in animation when switching tabs
  • Feat: Add tabBarBuilder callback and TabBarBuilder typedef — replace the default tab bar with a fully custom widget
  • Fix: Use TickerProviderStateMixin to 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 tabs parameter and PageTab class
  • Feat: Add showTitle parameter to toggle title row visibility
  • Feat: Add showTabs parameter to toggle tab bar visibility
  • Feat: Add initialTabIndex and onTabChanged for tab state management
  • Uses IndexedStack to preserve tab state across switches
  • Fully backward compatible — existing single-page usage unchanged

0.1.1 #

  • Fix: Wrap root widget with Material to provide Material ancestor for child widgets (e.g. DropdownButton, InkWell, TextField)

0.1.0 #

  • Initial release
  • MainAreaTemplate widget for page-level layouts with title, description, icon, and actions
  • MainAreaSection widget for grouped content cards with accent-bar headers
  • Theme-aware styling using ColorScheme tokens
  • expanded parameter for sections that fill remaining space
2
likes
160
points
36
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A reusable main content area template widget with page titles, section headers, and theme-aware styling.

Repository (GitHub)
View/report issues

Topics

#widget #ui #layout #scaffold

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_page_scaffold