YmUiUtil class

UI工具类

Constructors

YmUiUtil()

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

hideLoading(BuildContext context) → dynamic
隐藏loading
showAlertDialog(BuildContext context, String title, String message, String okText, String cancelText, {dynamic onOkPressed, dynamic onCancelPressed, dynamic okCloseDialog = true}) → dynamic
显示弹出框
showBottomDialog(BuildContext context, Widget child) → dynamic
显示底部弹出框
showConfirmDialog(BuildContext context, String message, String okText, {dynamic onOkPressed}) → dynamic
显示确认弹出框
showLoading(BuildContext context) → dynamic
显示loading
showToast(BuildContext context, String message) → dynamic
toast提示