PopupHelper 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
-
button({String? title, IconData? icon, Color? iconColor, bool waiting = false, dynamic onPress, Widget? titleWidget, required dynamic context})
→ Widget
-
-
cancelButton({Function? onPress, bool enable = true, dynamic returnValue = false, required BuildContext context})
→ Widget
-
-
confirm({required dynamic context, dynamic title, dynamic titleWidget, dynamic text, dynamic textWidget, dynamic cancelText, dynamic onValidate, dynamic onCancel})
→ Future<Object?>
-
-
displayInfo(String message, dynamic context, {bool info = false, IconData icon = Icons.report_problem_outlined})
→ void
-
-
helpButton({required String title, String? text, Widget? content, required BuildContext context, Color? background})
→ Widget
-
-
okButton({Function? onPress, bool waiting = false, required BuildContext context})
→ Widget
-
-
-
showDialog(BuildContext context, Widget body, {Widget? button1, Widget? button2, Widget? button3, Widget? button4, String? title, Widget? titleWidget, IconData? icon, bool handleTVRemote = false, dynamic key})
→ Future<Object?>
-
-
titleBar({required BuildContext context, IconData? icon, String? title, dynamic buttons})
→ Container
-
-
titleButton({required dynamic icon, dynamic onPress, required BuildContext context})
→ Widget
-
-
titleButtonCancel(dynamic context)
→ Widget
-
-
titleButtonOk(dynamic context, dynamic onPress)
→ Widget
-