WildnessProperties constructor
const
WildnessProperties({
- Brightness? forceThemeMode,
- Configuration components = const Configuration(),
- Configuration resources = const Configuration(),
- ScrollPhysics physics = const ClampingScrollPhysics(),
- double minScaleFactor = 0.5,
- double maxScaleFactor = 1.2,
Creates a wildnessProperties that's used to configure wildnessUI
The forceThemeMode will be used to set the theme,
if you don't pass it, the system default setting is used
fallback is light
Implementation
const WildnessProperties({
this.forceThemeMode,
this._components = const Configuration(),
this._resources = const Configuration(),
this.physics = const ClampingScrollPhysics(),
this.minScaleFactor = 0.5,
this.maxScaleFactor = 1.2,
});