ikbendewilliam / flutter_navigation_generator Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Currently the generator doesn't support restorable routes like 'restorablePushNamed' etc. Would be nice if this was added.
When using dart_style & flutter_navigation_generator it is not possible to resolve.
Resolving dependencies...
Because no versions of flutter_navigation_generator match >1.0.3 <2.0.0 and flutter_navigation_generator 1.0.3 depends on analyzer ^5.0.0, flutter_navigation_generator ^1.0.3 requires analyzer ^5.0.0.
And because dart_style >=2.3.3 depends on analyzer ^6.2.0, flutter_navigation_generator ^1.0.3 is incompatible with dart_style >=2.3.3.
So, because my_app depends on both dart_style ^2.3.4 and flutter_navigation_generator ^1.0.3, version solving failed.
When using restorable routes, your parameters need to be serialisable. Maybe show a warning to the user so they know they can only pass serializable parameters, or turn the objects into a map automatically.
The FlutterRoute pageType doesn't override the FlutterNavigator pageType which is expected.
It would be nice to have custom transitions in flutter_navigation_generator
so you don't have to write them again in different projects.
In https://github.com/ikbendewilliam/get_x_navigation_generator we had transiation
which makes it easier to play around with different transitions without having to write everything again from scratch
It would be nice to have something like this
@FlutterRoute(
routeName: 'my_route/{id}',
)
In the first place this would analytics make easier. But can maybe also be used to implement this
Currently you have to override the showCustomDialog function if you want change the default parameters of a dialog like 'barrierDismissible'. Would be nice if this was just generated as well so we can pass them in the showcustomDialog function.
This screen config:
@FlutterRoute(
navigationType: NavigationType.popAndPush,
)
Generates this:
navigatorKey.currentState?.popAndPushNamed<dynamic>(...)
And gives this error:
The method 'Future<T?> Function<T extends Object?, TO extends Object?>(String, {Object? arguments, TO? result})' is declared with 2 type parameters, but 1 type arguments are given.
Try adjusting the number of type arguments.dart[wrong_number_of_type_arguments_method](https://dart.dev/diagnostics/wrong_number_of_type_arguments_method)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.