PopupHelper class

Constructors

PopupHelper()

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

button({required String title, dynamic icon, dynamic onPress}) Widget
cancelButton({Function? onPress, required BuildContext context}) Widget
okButton({Function? onPress, required BuildContext context}) Widget
popupWidget({required BuildContext context, String? title, Widget? titleWidget, IconData? icon, dynamic body, dynamic button1, dynamic button2, dynamic button3}) Widget
showDialog(BuildContext context, Widget body, {Widget? button1, Widget? button2, Widget? button3, String? title, Widget? titleWidget, IconData? icon}) Future<Object?>