setPlayerHardwareAcceleration method

void setPlayerHardwareAcceleration(
  1. {required bool value}
)

Set whether or not the player should use hardware acceleration.

Implementation

void setPlayerHardwareAcceleration({required bool value}) async {
  await _preferences.put('player_hardware_acceleration', value);
}