lowEndCPUOptimizations property
Get the low-end CPU optimizations flag.
Returns
- True when low-end CPU optimizations are enabled, false otherwise.
Also see:
- lowEndCPUOptimizations — Enable or disable low-end CPU optimizations.
Implementation
bool get lowEndCPUOptimizations {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewExtensions',
'getLowEndCPUOptimizations',
dependencyId: _mapControllerId,
);
return resultString['result'];
}
Enable or disable optimizations for low-end CPUs.
When enabled, the map view applies heuristics and reduced-cost rendering paths intended to improve responsiveness on devices with limited CPU power.
Parameters
bEnable: True to enable optimizations, false to disable them.
Also see:
- lowEndCPUOptimizations — Get the current state of low-end CPU optimizations.
Implementation
set lowEndCPUOptimizations(final bool bEnable) {
objectMethod(
_pointerId,
'MapViewExtensions',
'setLowEndCPUOptimizations',
args: bEnable,
dependencyId: _mapControllerId,
);
}