lockOrientationToLandscape property
bool
get
lockOrientationToLandscape
Implementation
static bool get lockOrientationToLandscape {
_lockOrientationToLandscape ??=
const String.fromEnvironment('LOCK_ORIENTATION_LANDSCAPE', defaultValue: '').isNotEmpty
? const String.fromEnvironment('LOCK_ORIENTATION_LANDSCAPE', defaultValue: 'false') ==
'true'
: (_lockOrientationToLandscapeDefault ?? false);
return _lockOrientationToLandscape!;
}