PopupDialog class

Available extensions

Constructors

PopupDialog({PopupHeader header = const PopupHeader(), PopupContent content = const PopupContent(), PopupConfig config = const PopupConfig(), List<Widget> buttons = const []})
const

Properties

buttons List<Widget>
final
config PopupConfig
final
content PopupContent
final
hashCode int
The hash code for this object.
no setterinherited
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

choose({required BuildContext context, required String title, required String message, required List<PopupOption> options, Icon? icon}) Future
dialog({required BuildContext context, required PopupType type, required String title, required String message, String? buttonLabel, Color? buttonColor, Icon? icon, List<Widget> buttons = const []}) Future
input(BuildContext context, {required String title, required String? message, required String label, PopupButton? confirmButton, PopupButton? cancelButton, Icon? icon, FormFieldValidator? validator, TextInputType? keyboardType, String? initialValue}) Future
message({required BuildContext context, required PopupType type, required String title, required String message, String? buttonLabel, Color? buttonColor, Icon? icon}) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
question({required BuildContext context, PopupType type = PopupType.question, required String title, required String message, PopupButton? confirmButton, PopupButton? cancelButton, Icon? icon}) Future
show(BuildContext context) Future
toString() String
A string representation of this object.
inherited

Operators

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