AppDialog class
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
-
registerCustom(dynamic key, DialogBuilder builder)
→ void
-
-
registerCustoms(Map<dynamic, DialogBuilder> builders)
→ void
-
-
show({String? title, String? description, String? cancelTitle, Color? cancelTitleColor, String? buttonTitle, Color? buttonTitleColor, bool barrierDismissible = false, DialogPlatform? dialogPlatform})
→ Future<DialogResponse?>
-
-
showConfirm(String question, {String? title, String? buttonTitle, String? cancelButtonTitle})
→ Future<bool>
-
-
showCustom<T, R>({dynamic variant, String? title, String? description, bool hasImage = false, String? imageUrl, bool showIconInMainButton = false, String? mainButtonTitle, bool showIconInSecondaryButton = false, String? secondaryButtonTitle, bool showIconInAdditionalButton = false, String? additionalButtonTitle, bool takesInput = false, Color barrierColor = Colors.black54, bool barrierDismissible = false, String barrierLabel = '', R? data})
→ Future<DialogResponse<T>?>
-
Creates a popup with the given widget, a scale animation, and faded background.
-
showError(dynamic error, {String? title})
→ void
-
-
showInfo(String info, {String? title})
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited