MethodChannelDwm class

An implementation of DwmPlatform that uses method channels.

Inheritance

Constructors

MethodChannelDwm.new()

Properties

getColorScheme Future<DwmColorScheme>
no setteroverride
getContentProtection Future<DwmDisplayAffinity?>
getContentProtection Retrieves the current display affinity setting, from any process, for a given window.
no setteroverride
getPlatformVersion Future<DwmPlatformVersion>
getPlatformVersion
no setteroverride
getThemeMode Future<DwmThemeMode>
getThemeMode Get the window theme mode.
no setteroverride
getWindowMaxSize Future<Size>
Get the maximum windows size.
no setteroverride
getWindowMinSize Future<Size>
getWindowMinSize
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Checks whether any assigned event listeners.
no setterinherited
isWindowMaximized Future<bool>
no setteroverride
isWindowMinimized Future<bool>
no setteroverride
listeners List<DwmListener>
Get a list of assigned event listeners.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ensureInitialized() Future<bool>
ensureInitialized Initialize the dwm plugin.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetWindowMaxSize() Future<void>
setWindowMaxSize Set the maximum window size.
override
resetWindowMinSize() Future<void>
setWindowMinSize Set the minimum window size.
override
setColorScheme(DwmColorScheme colorScheme) Future<void>
override
setContentProtection(DwmDisplayAffinity value) Future<void>
setContentProtection Specifies where the content of the window can be displayed.
override
setThemeMode(DwmThemeMode themeMode) Future<void>
setThemeMode Set the window theme mode.
override
setWindowCation(String caption) Future<void>
override
setWindowClosable(bool closable) Future<void>
override
setWindowIconAndCationVisibility(bool visibility) Future<void>
override
setWindowMaximizable(bool maximizable) Future<void>
override
setWindowMaximized() Future<void>
override
setWindowMaxSize(Size size) Future<void>
setWindowMaxSize Set the maximum window size.
override
setWindowMinimizable(bool minimizable) Future<void>
override
setWindowMinimized() Future<void>
override
setWindowMinSize(Size size) Future<void>
setWindowMinSize Set the minimum window size.
override
setWindowResizable(bool resizable) Future<void>
override
setWindowRestore() Future<void>
override
setWindowSize(Size size) Future<void>
setWindowSize Set the window size.
override
toString() String
A string representation of this object.
inherited

Operators

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