Skip to content
pubscout

native_ios_dialog

0.2.1, released 3 years ago by an unverified publisher

Shows native iOS and macOS equivalents of CupertinoAlertDialog and CupertinoActionSheet.

$ flutter pub add native_ios_dialog
Source repository

What it does

A Flutter plugin that enables developers to display native iOS alerts and action sheets, providing authentic platform look and feel. It supports various button types like default, destructive, and cancel, with customization options matching native iOS guidelines.

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

Use it when

  • You want authentic native iOS and macOS dialogs instead of Flutter's Cupertino equivalents
  • You need standard alert dialogs or action sheets with native styling and button states

Skip it when

  • Your app requires a uniform Material or custom cross-platform design across all systems
  • You are targeting Android or web platforms primarily

Strengths

  • Provides real native iOS dialog and action sheet experiences
  • Supports macOS alongside iOS
  • Supports customized button styles such as destructive, cancel, and disabled

Weaknesses

  • Limited to iOS and macOS platforms
  • Action sheets on iPadOS have version limitations documented in the changelog

Setup

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

not documented

NativeIosDialog(title: "Info", message: "Please consider the following information in this dialog.", style: style, actions: [
  NativeIosDialogAction(text: "OK", style: NativeIosDialogActionStyle.defaultStyle, onPressed: () {}),
]).show();

Alternatives

Packages that do the same job and could replace native_ios_dialog.