ShowcaseConfig.fromUri constructor
ShowcaseConfig.fromUri(
- Uri uri
Reads the configuration from the query parameters of uri.
Implementation
factory fromUri(Uri uri) {
final query = uri.queryParameters;
return ShowcaseConfig(
highlightsEnabled: query['highlights'] != 'off',
insets: query['insets'] == 'ios' ? iosInsets : EdgeInsets.zero,
);
}