Which is the best way of Routing in a Flutter App?
I’ve tried named routes, routes array, flutter navigation 2.0. But I am still not sure which is the best.
Navigator 1.0 and 2.0 are usable. None is deprecated.
For mobile app only Navigator 1.0 is the best, I use onGenerateRoute field from MaterialApp and that’s all I can handle all my routes and deep links. Some times, I used the Navigator widget for specific routes in app page but it’s rare.
Answered By – Eng
Answer Checked By – Marie Seifert (FlutterFixes Admin)