isDocked method
Returns bool
- Whether the window is docked.
Supported Platforms:
- Windows
Implementation
Future<DockSide?> isDocked() async {
int? docked = await _invokeMethod('isDocked');
if (docked == 0) return null;
if (docked == 1) return DockSide.left;
if (docked == 2) return DockSide.right;
return null;
}