enableNotchMode method
Enables the notch mode with specified parameters.
width: The initial width.height: The initial height.blurIntensity: The blur intensity (0.0 to 1.0).
Implementation
@override
Future<void> enableNotchMode({
double width = 130,
double height = 30,
double blurIntensity = 1.0,
}) async {
await methodChannel.invokeMethod<void>('enableNotchMode', {
'width': width,
'height': height,
'blurIntensity': blurIntensity,
});
}