StateRouter constructor

const StateRouter({
  1. Key? key,
  2. required RouteState router,
  3. required Map<String, Widget Function()> routes,
})

Creates a StateRouter with the given router and routes.

Implementation

const StateRouter({super.key, required this.router, required this.routes});