Skip to main content

router library

Functions

generateRoute(RouteSettings settings) Route

The MaterialApp provides us with a property called generateRoute where we can pass in a Function that returns a Route<dynamic> and takes in RouteSettings</dynamic>