autoRouteGenerator function

Builder autoRouteGenerator (
  1. BuilderOptions options
)

Implementation

Builder autoRouteGenerator(BuilderOptions options) {
  // gr stands for generated router.
  return LibraryBuilder(
    AutoRouteGenerator(),
    generatedExtension: '.gr.dart',
  );
}