flutter_overlay_window icon indicating copy to clipboard operation
flutter_overlay_window copied to clipboard

How to resizeOverlay when it isActive

Open lkc33 opened this issue 1 year ago • 0 comments

Hi, Is it possible to resizeOverlay when it isActive? From the source of messanger_chathead.dart , If I clicked update ovelay, onTap: () async { if (_currentShape == BoxShape.rectangle) { await FlutterOverlayWindow.resizeOverlay(50, 100, true); setState(() { _currentShape = BoxShape.circle; }); } else { await FlutterOverlayWindow.resizeOverlay( WindowSize.matchParent, WindowSize.matchParent, false, ); setState(() { _currentShape = BoxShape.rectangle; }); } Exception has occurred. MissingPluginException (MissingPluginException(No implementation found for method resizeOverlay on channel x-slayer/overlay))

Thanks

lkc33 avatar Aug 14 '24 16:08 lkc33