Skip to content
pubscout

flutter_update_dialog

2.0.0, released 6 years ago by xuexiangjys.club

A customizable version update dialog for Flutter applications.

WASM-ready
$ flutter pub add flutter_update_dialog
Source repository

What it does

Provides a pre-built modal dialog widget designed specifically for application version updates. It allows developers to display update contents, title, top images, and a progress bar with support for forced updates and ignoring versions.

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

Use it when

  • You need a quick and customizable popup dialog to prompt users for app version upgrades.
  • You want to display progress, a custom top image, and customizable update/ignore buttons.

Skip it when

  • You are using a fully automated in-app update service that provides its own UI native flows.
  • You require complex state management solutions integrated directly into the update mechanism.

Strengths

  • Easy to integrate and customize with options for themes, text sizes, and forced updates.
  • Supports null-safety.

Weaknesses

  • Uses an imperative API design rather than a declarative widget-tree approach.
  • Limited documentation beyond basic examples and property tables.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

none

UpdateDialog.showUpdate(context,
    title: "是否升级到4.1.4版本?",
    updateContent: "新版本大小:2.0M\n1.xxxxxxx\n2.xxxxxxx\n3.xxxxxxx",
    onUpdate: onUpdate);

Alternatives

Packages that do the same job and could replace flutter_update_dialog.

  • ndialog

    Easily customizable dialogs, progress dialogs, zoomable dialogs, and animated transitions in Flutter.

  • awesome_dialog

    Show beautiful animated dialogs (info, question, warning, success, error) simply in Flutter.

  • rating_dialog

    A customizable Star Rating Dialog package for Flutter

  • unified_popups

    Unified overlay popup system for Flutter offering toast, loading, confirm, sheet, menu and more without needing a BuildContext.