setWhitenessLevel method

Future<void> setWhitenessLevel(
  1. int whitenessLevel

Set the strength of the brightening filter


whitenessLevel Strength of the brightening filter. Value range: 09; 0 indicates that the filter is disabled, and the greater the value, the more obvious the effect.

Platform not supported:

  • web


Future<void> setWhitenessLevel(int whitenessLevel) {
  return _channel
      .invokeMethod('setWhitenessLevel', {"whitenessLevel": whitenessLevel});