PlatformRouteInformationProvider constructor
- required RouteInformation initialRouteInformation,
Create a platform route information provider.
Use the initialRouteInformation
to set the default route information for this
provider.
Implementation
PlatformRouteInformationProvider({
required RouteInformation initialRouteInformation,
}) : _value = initialRouteInformation {
if (kFlutterMemoryAllocationsEnabled) {
ChangeNotifier.maybeDispatchObjectCreation(this);
}
}