hardwareAcceleration property

HardwareAcceleration? get hardwareAcceleration

Implementation

_i3.HardwareAcceleration? get hardwareAcceleration => switch (_i4.getProperty(
      this,
      'hardwareAcceleration',
    )) {
      _i2.String name => _i3.HardwareAccelerationOptions.values.byName(name),
      _ => null
    };
set hardwareAcceleration (HardwareAcceleration? value)

Implementation

set hardwareAcceleration(_i3.HardwareAcceleration? value) {
  _i4.setProperty(
    this,
    'hardwareAcceleration',
    value?.name ?? _i6.undefined ?? _i6.undefined,
  );
}