PopupWidget 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
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
alert<T>(BuildContext context, {String title = "Alert", String content = ""})
→ Future<T?>
-
-
chooser<T>(BuildContext context, {String title = "Choose", String? content, bool barrierDismisable = true, required List<PopupWidgetOptions<T>> data, required dynamic onSelected(String text, T? value), Color color = Colors.blue})
→ Future<T?>
-
-
confirm<T>(BuildContext context, {String title = "Confirmation", String content = "", required ButtonWidget okButton, ButtonWidget? cancelButton, bool barrierDismisable = true})
→ Future<T?>
-
-
input<T>(BuildContext context, {String title = "Input Form", String? content, bool barrierDismisable = true, required List<PopupWidgetInputModel> data, required dynamic onOk(), String okText = "Confirm", Color color = Colors.blue, dynamic onTapInput({PopupWidgetInputModel inputForm})?})
→ Future<T?>
-
-
selection<T>(BuildContext context, {String title = "Confirmation", String? content, bool barrierDismisable = true, required List<PopupWidgetOptions<T>> data, required List<T> selectedData, required dynamic onOk(List<T> selectedData), String okText = "Confirm", Color color = Colors.blue})
→ Future<T?>
-