PlexInfoDialog class

A utility class to show a highly configurable dialog for information, errors, alerts, etc.

Constructors

PlexInfoDialog.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

show<T>({required BuildContext context, String? title, String? message, Widget? icon, PlexInfoDialogType type = PlexInfoDialogType.info, List<PlexInfoDialogAction>? actions, bool showOk = true, bool showCancel = false, VoidCallback? onOk, VoidCallback? onCancel, String okLabel = 'OK', String cancelLabel = 'Cancel', PlexButtonType okButtonType = PlexButtonType.elevated, PlexButtonType cancelButtonType = PlexButtonType.text, bool isDismissible = true, Color? backgroundColor, Color? barrierColor, ShapeBorder? shape, BoxConstraints? constraints, bool useSafeArea = true, double elevation = PlexDim.small, EdgeInsets insetPadding = const EdgeInsets.symmetric(horizontal: 40.0, vertical: 24.0), Widget? customContent}) Future<T?>
Shows a dialog with the given configuration.