setWhitenessLevel method

Future<void> setWhitenessLevel(
  1. int whitenessLevel
)

Set the strength of the brightening filter

Parameters:

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

Implementation

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