alexmercerind / flutter_acrylic

Flutter library for window acrylic, mica & transparency effects.
MIT License
607 stars 54 forks source link

Tint colour does not work on Mac OS when using WindowEffect.acrylic #83

Closed nialljawad96 closed 9 months ago

nialljawad96 commented 9 months ago

There is no red tint, and tint does not change when adjusting the color parameter.

setEffect() async {

    await Window.setEffect(
      effect: WindowEffect.acrylic,
      color: Colors.red,

    );

}
Adrian-Samoticha commented 9 months ago

The color argument only has an effect when using the acrylic, aero, solid, or transparent effects, none of which are supported on macOS (flutter_acrylic just falls back on one of the supported effects, instead).

If you wish to apply a color to your window, you’ll need to do that using a Flutter widget.

nialljawad96 commented 9 months ago

@Adrian-Samoticha Cool, I'd probably say to just add that into the documentation as the table on the main page says Mac OS is supported for acrylic - could maybe add which supported effect it falls back onto, too.

Thanks for making this awesome package!