Skip to content
pubscout

android_window

0.4.0, released 4 years ago by an unverified publisher

Flutter plugin to create native Android floating windows.

WASM-ready
$ flutter pub add android_window
Source repository

What it does

Provides a widget and API to open a native Android floating window from Flutter code. The window can display any Flutter UI and behaves like an overlay on top of other apps.

AI-written summary of version 0.4.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need an overlay/floating window on Android devices
  • You want to display custom Flutter UI outside the main app UI

Skip it when

  • Your app must run on iOS or other platforms
  • You prefer a pure‑Dart solution without native code

Strengths

  • Simple API to open and control the window
  • Runs as a native Android window for better performance
  • Allows any Flutter widget as window content

Weaknesses

  • Android‑only, no iOS support
  • Requires native build steps (pigeon, Android setup)
  • Documentation is minimal

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
0

Run `flutter pub run pigeon --input lib/pigeon.dart` to generate platform code and ensure Android project is configured for a plugin; no extra permissions required but native setup is needed.

import 'package:android_window/android_window.dart';

FloatingActionButton(
  onPressed: () => android_window.open(size: const Size(300, 200)),
  child: const Icon(Icons.add),
);

Alternatives

Packages that do the same job and could replace android_window.

  • window_manager

    Flutter desktop window resizing, moving, showing, hiding via nativeapi.

  • fab_circular_menu_plus

    A Flutter package to create a circular menu using a Floating Action Button.

  • onboarding

    This is a widget that allows developers to create an on-boarding landing page for flutter applications.

  • dashboard

    Dynamic grid dashboard widget allowing users to create, resize, and move layouts.