bitsdojo_window icon indicating copy to clipboard operation
bitsdojo_window copied to clipboard

prevent exception when app run in mobile platform

Open DJafari opened this issue 4 years ago • 2 comments
trafficstars

i think because this plugin made only for desktop, you can handle UnimplementedError for mobile platforms

currently we must check platform

if(defaultTargetPlatform == TargetPlatform.macOS || defaultTargetPlatform == TargetPlatform.windows || defaultTargetPlatform == TargetPlatform.linux) {
  doWhenWindowReady(() {
      final initialSize = Size(600, 450);
      appWindow.minSize = initialSize;
      appWindow.size = initialSize;
      appWindow.alignment = Alignment.center;
      appWindow.show();
    });
}

DJafari avatar Sep 28 '21 20:09 DJafari

Thank you for reporting. Added to my list.

bitsdojo avatar Sep 29 '21 07:09 bitsdojo

@bitsdojo please is this issue in the scope to be fixed?

ghost avatar Jul 13 '22 15:07 ghost