Skip to content
pubscout

flutter_dialogs

3.0.0, released 4 years ago by joshuamdeguzman.com

A lightweight and platform-aware plugin for showing dialogs and alerts.

WASM-ready
$ flutter pub add flutter_dialogs
Source repository

What it does

Provides platform-aware dialogs and alerts that adapt their appearance for Android, iOS, and other platforms. Offers extendable basic dialog and action widgets to easily display notices, confirmations, and lists.

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

Use it when

  • You need platform-aware dialogs that look native on both Android and iOS
  • You want a lightweight solution for basic alerts and confirmations

Skip it when

  • You require complex custom transitions or multi-step modal workflows
  • You are not using Flutter widgets for dialogs

Strengths

  • Platform-aware rendering
  • Lightweight package footprint (< 28 KB)
  • Easy to use basic alert and action builders

Weaknesses

  • Limited to basic dialog and alert structures
  • No advanced built-in modal routing or complex dialog states

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
showPlatformDialog(
  context: context,
  builder: (context) => BasicDialogAlert(
    title: Text("Current Location Not Available"),
    content:
        Text("Your current location cannot be determined at this time."),
    actions: <Widget>[
      BasicDialogAction(
        title: Text("OK"),
        onPressed: () {
          Navigator.pop(context);
        },
      ),
    ],
  ),
);

Alternatives

Packages that do the same job and could replace flutter_dialogs.