Releases: fluttersdk/magic_starter
Releases · fluttersdk/magic_starter
v0.0.1-alpha.13
🐛 Bug Fixes
- Icon Tree-Shaking: Extracted all runtime-conditional
Icons.*references intostatic constfields for Flutter web tree-shaking compatibility — fixes 11+ broken icon usages across 10 files (#37)
Full Changelog: 0.0.1-alpha.12...0.0.1-alpha.13
v0.0.1-alpha.12
✨ New Features
- Sidebar Footer: Added
sidebarFooterBuilderslot viaMagicStarter.useSidebarFooter()— renders custom widget between navigation and user menu in both desktop sidebar and mobile drawer (#27) - MagicStarterUserProfileDropdown: Moved theme toggle from sidebar bottom bar into user profile dropdown menu — sidebar now shows only avatar, name, and notification bell (#30)
🐛 Bug Fixes
- MagicStarterUserProfileDropdown: Fixed menu overflow when many profile menu items are registered — wrapped menu items in scrollable
overflow-y-autoWDiv, keeping header and logout footer fixed (#28) - Sidebar Navigation: Fixed overflow when many nav items exceed viewport height — added
overflow-y-autoto navigation WDiv so items scroll while brand, team selector, and user menu remain fixed (#29)
📚 Documentation
- Manager: Added
useSidebarFooter()section and facade entry to manager doc - Views & Layouts: Updated theme toggle location from sidebar to user profile dropdown
- README: Added layout customization section with
useHeader()anduseSidebarFooter()examples
Full Changelog: 0.0.1-alpha.11...0.0.1-alpha.12
v0.0.1-alpha.11
✨ New Features
- MagicStarterPageHeader: Added
titleSuffix(Widget?) for inline widgets after title (e.g. status badges) andinlineActions(bool) to force single-row layout on all screen sizes (#24)
📚 Documentation
- Release Command: Added critical tag format warning —
publish.ymlrequires tags withoutvprefix (#23)
Full Changelog: 0.0.1-alpha.10...0.0.1-alpha.11
0.0.1-alpha.10
🐛 Bug Fixes
- MagicStarterDialogShell: Fixed bottom overflow when body content exceeds viewport — removed
flex flex-colfrom outer WDiv that broke constraint propagation to inner Column; body now scrolls correctly with sticky header/footer (#21)
🔧 Improvements
- Dependencies: Bumped minimum
magicto^1.0.0-alpha.7— updated all test setUp blocks to bindAuthManagerin the IoC container, matching the new container-resolvedAuthfacade
v0.0.1-alpha.9
✨ New Features
- MagicStarterHideBottomNav: New
InheritedWidgetthat signalsMagicStarterAppLayoutto hide the mobile bottom navigation bar for fullscreen routes — wired into layout and exported from barrel (#19)
📚 Documentation
- State/Controller Registration Guide: New architecture reference (
doc/architecture/controllers.md) covering the lazy singleton pattern,MagicController + MagicStateMixinusage, controller lifecycle, view binding, and a decision tree for eager vs lazy vs per-view registration (#18) - State Management Getting-Started Guide: New practical guide (
doc/guides/state-management.md) with end-to-end examples — state class, view integration, and testing patterns for consumer apps (#18) - Scaffolded Stub:
app_service_provider.stubnow includes state registration guidance comments showing the recommendedMagic.findOrPut()pattern (#18) - Cross-References:
doc/architecture/service-provider.mdnow links to the new controllers doc (#18) - Doc Fixes: Corrected Gate ability names in
profile.md, addedMagicStarterHideBottomNavto widgets table inviews-and-layouts.md
🔧 Improvements
- CI: Bumped
codecov/codecov-actionfrom v5 to v6 (#16)
Full Changelog: 0.0.1-alpha.8...0.0.1-alpha.9
v0.0.1-alpha.8
🐛 Bug Fixes
- MagicStarterDialogShell: Fixed mobile overflow —
maxHeightnow computed from safe area (MediaQuery.viewPaddingOf) instead of raw screen height; added verticalinsetPadding(24px) to prevent dialog from extending to screen edges (#13) - MagicStarterPasswordConfirmDialog: Same safe area fix — replaced hardcoded
maxHeight: 600withsafeHeight * 0.85; added verticalinsetPadding - MagicStarterTwoFactorModal: Same safe area fix — replaced hardcoded
maxHeight: 800withsafeHeight * 0.85; added verticalinsetPadding
Full Changelog: 0.0.1-alpha.7...0.0.1-alpha.8
v0.0.1-alpha.7
✨ New Features
- MagicStarterPasswordConfirmDialog: Added
ConfirmDialogVariantsupport (primary,danger,warning) — confirm button now resolves color from variant, matchingMagicStarterConfirmDialogbehavior. Defaults toprimaryfor backwards compatibility.
🔧 Improvements
- Profile Settings: Standardized dialog variants across all password-confirm call sites —
dangerfor session revocation,warningfor 2FA disable and recovery code regeneration,primaryfor neutral confirmations
Full Changelog: 0.0.1-alpha.6...0.0.1-alpha.7
v0.0.1-alpha.6
🐛 Bug Fixes
- MagicStarterPasswordConfirmDialog: Footer buttons now right-aligned — added
w-fullto footer WDiv sojustify-endstretches to container width - MagicStarterTwoFactorModal: Footer buttons now right-aligned in both setup and recovery steps — same
w-fullfix applied to both footer locations
🔧 Improvements
- MagicStarterTwoFactorModal: Extracted duplicated footer className to shared
_footerClassNameconst — reduces divergence risk
Full Changelog: 0.0.1-alpha.5...0.0.1-alpha.6
v0.0.1-alpha.5
Changed
- MagicStarterDialogShell: Now exported publicly from the barrel (
package:magic_starter/magic_starter.dart) — consumer apps can compose custom dialogs on top of it - MagicStarterDialogShell:
footerparameter replaced withfooterBuilder(Widget Function(BuildContext dialogContext)?) — provides the dialog's ownBuildContextso callers can callNavigator.pop(dialogContext)without popping the underlying route
Fixed
- MagicStarterConfirmDialog and MagicStarterPasswordConfirmDialog: Buttons are now compact and right-aligned (
justify-end gap-2 wrap) — previously rendered as full-width (flex-1) buttons that stretched across the footer - MagicStarterDialogShell: Body no longer creates a gap between scrollable content and the footer when content is shorter than the available height — switched from
SingleChildScrollViewtoListView(shrinkWrap: true)
Full Changelog: 0.0.1-alpha.4...0.0.1-alpha.5
v0.0.1-alpha.3
✨ New Features
- MagicStarterCard: Added
CardVariantenum (surface,inset,elevated) and avariantparameter so consumer apps can choose the card's visual style. Default isCardVariant.surface, fully backward-compatible. - MagicStarterPageHeader: Widget tests covering all parameters including responsive
sm:flex-rowlayout. - Configurable navigation theme: Added
MagicStarterNavigationThemeclass andMagicStarter.useNavigationTheme()to allow consumer apps to override navigation colors and styles without breaking changes.activeItemClassName,hoverItemClassName,brandClassName,brandBuilder,bottomNavActiveClassName,avatarClassName,avatarTextClassName,dropdownAvatarClassName- All fields optional — zero breaking changes
Full Changelog: 0.0.1-alpha.2...0.0.1-alpha.3