Codelessly / ResponsiveFramework

Easily make Flutter apps responsive. Automatically adapt UI to different screen sizes. Responsiveness made simple. Demo: https://gallery.codelessly.com/flutterwebsites/minimal/
https://codelessly.com
MIT License
1.25k stars 150 forks source link

onGenerateRoute + Nylo #153

Closed lpdevit closed 11 months ago

lpdevit commented 12 months ago

Hi, I just read your great migration guide and it's awesome! I was looking at this example but I have a problem... I am using Nylo in my project. As you can see from the docs and this example, it uses:

runApp(
    AppBuild(
      navigatorKey: NyNavigator.instance.router.navigatorKey,
      onGenerateRoute: nylo.router!.generator(), // THIS ROW!!!
      debugShowCheckedModeBanner: false,
      initialRoute: nylo.getInitialRoute(),
    ),
  );

How can I use Nylo's "onGenerateRoute" with your ResponsiveFramework "onGenerateRoute"? Thank you for your help @rayliverified

lpdevit commented 11 months ago

https://github.com/nylo-core/nylo/issues/72