overridePlatformDefaultLocation property
Whether to ignore platform's default initial location when
initialLocation
is set.
When set to true
, the initialLocation
will take
precedence over the platform's default initial location.
This allows developers to control the starting route of the application
independently of the platform.
Platform's initial location is set when the app opens via a deeplink. Use overridePlatformDefaultLocation only if one wants to override platform implemented initial location.
Setting this parameter to false
(default) will allow the platform's
default initial location to be used even if the initialLocation
is set.
It's advisable to only set this to true
if one explicitly wants to.
Implementation
final bool overridePlatformDefaultLocation;