stackedRouterGenerator function
Builder
stackedRouterGenerator(
- BuilderOptions options
Implementation
Builder stackedRouterGenerator(BuilderOptions options) {
final generatorConfig = GeneratorConfig.fromJson(options.config);
return LibraryBuilder(
generatorConfig.navigator2
? StackedRouterGenerator()
: StackedNavigatorGenerator(),
generatedExtension: '.router.dart',
);
}