- Support route interceptor
- Add
RouteLifecycleState
provides lifecycle management for routes - Add
GlobalNavigator
manages global navigation actions
- fix issue that Unsupported operation: Cannot remove from a fixed-length list on --no-fast-mode #40
- change '--generate-file-import' default is false.
- add '--generate-file-import' and '--generate-file-import-packages'.
- document all public members.
- add '--argument-names' on '--super-arguments'.
- fix miss super default value on '--no-fast-mode'.
- import trim
- use the same AnalysisContextCollection
- support analyse typedef(alias) on '--no-fast-mode'.
- add ff_annotation_route fast-mode and version into file template header
- add '--[no-]fast-mode'. fast mode: only analyze base on single dart file, it's fast. non-fast mode: analyze base on whole packages and sdk, support super parameters and add parameters refer import automatically.
- support super parameters on '--no-fast-mode'.
- support add parameters refer import automatically on '--no-fast-mode'
- improve the analysis of codes and exts
- support super.key as default Key? key.
-
functional_widget support ugly function name. (#39)
-
add ff_annotation_route_core instead of PackageGraphs
- Support functional_widget. (#38)
- Remove old command support.
- Support generate consts when it's a package.
- Support Flutter 3.
- Fix
--arguments-case-sensitive
is not working for constructorName
- Add
--arguments-case-sensitive
to support igore arguments case sensitive
- Fix multi constructor nullsafety error
- Add unnecessary_import for generate files header
- Breaking change: use
FFRouteSettings.builder
instead ofFFRouteSettings.widget
- Breaking change: use
FFPage.builder
instead ofFFPage.widget
- Breaking change: use
notFoundPageBuilder
instead ofnotFoundWidget
- Add
FFRoute.codes
to support something can't write in annotation - Add GetX support
- Support Flutter 2.5.0, basically with the type alias support. Also, drop supports below Flutter 2.5.0 .
- Revert the
required
keyword extra handling since this fix has been addressed in theanalyzer
. - De-duplicate all imports.
- Sort imports alphabetically.
- Brought
ignore_for_file
front. - Apply trailing comma to safe/super arguments for the
require_trailing_commas
lint rule. - Support fix class names conflict. (Do not use the same class name in one package, they can't be exported correctly.)
- Use constants value from core in the template.
- Fix typo (Supper => Super)
- Add notFoundWidget for Page is not found.
- Fix required annotation detect for inner fields.
- Fix not handled nullable type annotation in no null safety mode.
- Fix null operator check on git args.
- null-safety
- Fix
--null-safety
!
error - Add unused_local_variable
- Add
--null-safety
to support null-safety
- Fix Cannot remove from a fixed-length list
- Add @FFArgumentImport() instead of @FFRoute.argumentImports
- Fix uncomment debug arguments
-
breaking change :
remove --route-helper, it's ff_annotation_route_library in now. remove --no-is-initial-route remove --no-arguments remove --route-constants remove --route-names
-
add Navigator 2.0 support
- Hide parameters.
- Add
name
parameter.
- fix the method
firstWhere
was called on null,gitNames is null
- add
--super-arguments
which generate page arguments helper class - add
--const-ignore
is the regular to ignore some route consts
- use args to parse arguments
- remove dart:mirrors.
- remove duplicate and sort imports.
- Breaking change: remove 'argumentNames' and 'argumentTypes', they will be generated automatically.
- Support optional/positional argument.
- Supoort multiple constructors.
- Supoort const constructor.
- Solve format issue and dependencies upgrade.
- Consist transparent transition with
showDialog
.
- Improve optional arguments handle.
- Add WidgetBuilder for onGenerateRouteHelper.
- Capable with Flutter For the Web.
- Fix build error from [analyzer].
- Do better for quotation marks.
- Try catch DartFormatter.
- Change style of save commands.
- Add argumentTypes for FFRoute.
- Add name for RouteResult.
- Fix Map<String,dynamic> exts for FFRoute are not generated.
- Fix duplicate generate helper
- Fix generateRouteNames is not work
- Fix camelCase error of constants
- Use DartStyle to format dart code.
- Add **routesfileoutput command for xxx_routes.dart(is relative to the lib directory)
- Breaking change Generate route names and route constant in single file(xxx_routes.dart) Route constants are following camelCase rule now(suggestion from Flutter Team)
- Fix command SettingsNoIsInitialRoute.
- Add Map<String,dynamic> exts for FFRoute
- Handle case that argumentNames: ['test', 'test1']
- Add 'ignore_for_file: argument_type_not_assignable' for route file.
- Update format in code and generated codes to match analyzer options.
- Add output command for root.
- Format readme.
- Fix issue about Save command for Git and Path commands.
- Change Git command(contains name to equal name)
- Add new command Git(Whether scan git lib,you should specify package names and split multiple by ',')
- Add new command Package(Is this a package.)
- Add new command SettingsNoIsInitialRoute(Whether RouteSettings has isInitialRoute(for higher flutter sdk).)
- Breaking change Route instead of RouteSetting for RouteChange call back.
- Demo Track page only for PageRoute
- Fix error about na, **noarguments.
- Add more friendly prompt.
- Breaking change
Manage your Flutter app development with ff_annotation_route.
Activate: pub global activate ff_annotation_route
Usage: ff_route <command> [arguments]
Available commands:
*h , **help Print this usage information.
*p , **path [arguments] The path of folder to be executed with commands.
rc, **routeconstants Whether generate route names as constants.
rh, **routehelper Whether generate xxx_route_helper.dart
rn, **routenames Whether generate route names as a list.
*s , **save Whether save commands in local, it will read commands from local next time to execute if run "ff_route" without any commands.
na, **noarguments Whether RouteSettings has arguments(for lower flutter sdk).
- Merge files from
1.1.8
.
- Fix NPE when
_didRouteChange
was called. - Update
onGenerateRouteHelper
's not found fallback.
- Fix route constants didn't generated for submodules.
- Generated routes will be sorted.
- Update parameter for
onGenerateRouteHelper
. - Remove
showStatusBarChange
fromFFNavigatorObserver
. - Improve code quality and remove redundant code.
- Add
onGenerateRouteHelper
to helper file instead of written inMaterialApp
.
- Add const private constructor.
- Fix format failed.
- Fix demo error.
- Remove
_
while route constant was start with/
, which will cause the constant unreachable.
- Remove the deprecated
author:
field from pubspec.yaml - Update codes according to health suggestion.
- Add
generateRouteConstants
param to generate routes inRoutes
with constants.
- Format output files.
- Correct typos and formatted codes
- Fix null exception about dependencies
- Fix demo issue and update analyzer version
- Add description parameter for FFRoute
- Command "checkEnable" is obsolete now. only sacn the project/package which has dependency of "ff_annotation_route"
- Fix FFNavigatorObserver
- Public getFFRouteSettings
- Fix getRouteResult method error
- Correct analyzer version for flutter low sdk
- Correct analyzer version
- First Version