app_features 1.2.0
app_features: ^1.2.0 copied to clipboard
This package help you to Organize folders Structure by feature scope.
1.2.0 #
- Add Feature Guards: per-feature
redirectmethod that runs before route-level redirects. - Add Async Initialization:
Feature.init()hook +AppFeatures.configAsync()for async setup. - Add Feature Middleware:
onEnter/onLeavelifecycle hooks triggered automatically on navigation. - Add Multi-Listener Events:
Feature.on()now supports multiple callbacks per route name +off()/offAll(). - Add Global Event Bus:
AppFeatures.on()/emit()/off()for cross-feature communication. - Add Nested Features:
Feature.subFeaturesfor automatic sub-feature registration. - Rewrite example app to demonstrate all features: async init, feature guards, middleware, multi-listener events, global event bus, nested features, branch config, shell route config, dialog/bottom sheet routes, overlay utilities, scaffold messenger, and Material 3.
1.1.0 #
- BREAKING: upgrade
go_routerfrom^16.0.0to^17.0.0. - Bug Fix: fix
routesWithRootKeylosingonExitandcaseSensitiveproperties when rebuilding routes. - Bug Fix: fix
refreshgetter executing once at init instead of on each call. - Bug Fix: fix typo in error message ("Future" to "Feature").
- Expand
Feature.routesfromList<GoRoute>toList<RouteBase>to supportShellRouteand other route types. - Add all
GoRouterconstructor parameters toAppFeatures.config()(redirect,refreshListenable,onException,errorPageBuilder,errorBuilder,observers,debugLogDiagnostics,routerNeglect,overridePlatformDefaultLocation,initialExtra,redirectLimit,restorationScopeId,requestFocus,extraCodec). - Add path-based navigation methods on
Feature:pushPath,goPath,replacePath,pushReplacementPath. - Add
fragmentparameter toFeature.go(). - Add static helpers on
AppFeatures:namedLocation,go,push,state. - Add branch config getters on
Feature:preloadBranch,branchInitialLocation,branchObservers,branchRestorationScopeId. - Add
MasterLayoutshell route config:restorationScopeId,redirect,parentNavigatorKey,navigatorContainerBuilder,notifyRootObserver.
1.0.2 #
- upgrade dependencies.
- Comprehensive documentation update with detailed examples and usage instructions.
1.0.1 #
- update go_router ^13.2.1.
1.0.0 #
- modify
restartto restart app.
0.9.0 #
- modify
modifyListenerto master layout if use masterPageBuilder
0.8.0 #
- improve
listento feature route navigation - modify
onto register route event
0.7.0 #
- improve
popwith result - modify
canPop
0.6.0 #
- modify
onNavigateto listen if routes in feature changed - modify
onBranchChangeto listen if branch in master layout changed - upgrade
go_routerdependencies
0.5.0 #
- fix open page route form other branch
0.4.0 #
- Modify Route Out of Master Layout
- upgrade dependencies
go_router
0.3.0 #
- modify options to
showLoading - modify readme docs
0.2.1 #
- Provide documentation public API dartdoc comments
0.2.0 #
- improve support
OverlayUtils - modify
AppFeatures.overlayandAppFeatures.scaffoldMessenger - remove static methods from
AppFeaturesdialog and other messages
0.1.1 #
- remove unused code
0.1.0 #
- modify support nested route navigation
- modify
MasterLayout - modify support bottom navigation bar
0.0.3 #
- modify
OverlayUtils
0.0.2 #
- modify
showSnackBartoAppFeatures
0.0.1 #
- first release.