MethodChannelMacNotchUi class

An implementation of MacNotchUiPlatform that uses method channels.

Inheritance

Constructors

MethodChannelMacNotchUi()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
onHoverZone Stream<bool>
Stream of hover zone events.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

animateWindowSize(double width, double height, {double radius = 10, double duration = 0.5}) Future<void>
Animates the window size.
override
enableNotchMode({double width = 130, double height = 30, double blurIntensity = 1.0}) Future<void>
Enables the notch mode with specified parameters.
override
getPlatformVersion() Future<String?>
Returns the platform version.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBlurIntensity(double amount) Future<void>
Sets the blur intensity.
override
setScreenshareVisibility(bool visible) Future<void>
Sets visibility in screenshares.
override
setWindowSize(double width, double height, {double radius = 10}) Future<void>
Sets the window size.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited