leanflutter / window_manager

This plugin allows Flutter desktop apps to resizing and repositioning the window.
https://pub.dev/packages/window_manager
MIT License
724 stars 205 forks source link

[Bug] BackgroundColor not work in flutter > 3.22.3 #481

Open azkadev opened 3 months ago

azkadev commented 3 months ago
Flutter 3.22.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b0850beeb2 (4 weeks ago) • 2024-07-16 21:43:41 -0700
Engine • revision 235db911ba
Tools • Dart 3.4.4 • DevTools 2.34.3
      await windowManager.waitUntilReadyToShow(
        const WindowOptions( 
          backgroundColor: Colors.transparent, 
        ),
        () async {},
      );

After the new flutter version 3.22.3 the background color cannot be changed to any color, it can only be black this happens on window_manager: 0.3.9 & 0.4.0

Henry-Hiles commented 3 months ago

Can reproduce.

Henry-Hiles commented 3 months ago

Hmm this actually happens to me on Flutter 3.22.2 as well.