overrideIsWeb property

bool? overrideIsWeb
final

This property should only be used if you wish to override the actual value of kIsWeb.

Typically only used for testing and apps that want to fake kIsWeb to simulate the result of the app being run in a web build or not, for this the adaptive feature.

This property is used by the Themes Playground app. Unless you are building something similar to the Themes Playground (example 5 in the package repo) app, you do not need to use this property and actually should not use it.

Implementation

final bool? overrideIsWeb;