Transparency effects for Flutter on Windows, macOS, and Linux.
Install
To begin using the flutter_acrylic package, include it in your pubspec.yaml file as follows:
dependencies:
...
flutter_acrylic: ^1.1.0
Usage Example
Check out this example demonstrating an app running on Microsoft Windows 11:

Supported Platforms and Maintainers
- Windows: Hitesh Kumar Saini
- macOS: Adrian Samoticha
- Linux: Hitesh Kumar Saini
Getting Started with Initialization
To initialize the plugin, you need to call the following code in your main() function:
Future main() async {
WidgetsFlutterBinding.ensureInitialized();
await Window.initialize();
runApp(MyApp());
}
Applying Effects
To apply effects such as Acrylic or Mica to your Flutter window, use the following code snippets:
await Window.setEffect(
effect: WindowEffect.acrylic,
color: Color(0xCC222222),
);
await Window.setEffect(
effect: WindowEffect.mica,
dark: true,
);
Available Effects
Here are some effects you can apply:
| Effect | Description |
|---|---|
| WindowEffect.transparent | Transparent window background. |
| WindowEffect.disabled | Default window background. |
| WindowEffect.acrylic | A translucent texture brush that adds depth. |
| WindowEffect.mica | An opaque material that incorporates desktop wallpaper to paint the background. |
Troubleshooting Tips
If you encounter any issues while using the flutter_acrylic package, consider the following troubleshooting steps:
- Ensure your operating system dependencies are updated.
- On Windows, effects may vary based on the version. Make sure you are using Windows 10 version 1803 or higher for Acrylic effects.
- For macOS, the deployment target in your Xcode project needs to be set to 10.14.6 or above.
- If you are using Linux, ensure your compositor supports blur effects, as this influences how they are displayed.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
Conclusion
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

