navigator_plus 1.2.0 navigator_plus: ^1.2.0 copied to clipboard
This package helps to manage the navigate between screens in an elegant and easy way.
navigator_plus #
This package helps to manage the navigate between screens in an elegant and easy way.
Using #
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile and web development, and a full API reference.
Installation #
First, add navigator_plus
as a dependency in your pubspec.yaml file.
In your flutter project add the dependency:
dependencies:
...
navigator_plus:
For help getting started with Flutter, view the online documentation.
Example #
Please follow this example here.
Navigate screen
NavigatorName.to(context, Routes.secondScreen,
arguments: {'name': 'datadirr'}, result: (result) {
if (result.resultOk) {
log("Owner: ${result.data['ownerName']}");
}
});
Fetch data from screen
NavigatorName.getArguments(context);