xui library

Properties

globalConfig GlobalConfig
getter/setter pair
logger ↔ Logger
getter/setter pair
MONTH_DAY Map<int, int>
month->days.
getter/setter pair
themeColor ThemeColor
getter/setter pair
XButtonInterceptor Function
getter/setter pair

Functions

AlertModalPopupWidget(BuildContext context, dynamic child, Widget? bottom, double? bottomHeight, Function? leftCallBack, String? leftText, String? title, bool? elevation, double? height) SafeArea
checkAllForm(BuildContext context, List<CheckFormItem> arr) bool
ColorToHex(Color hexColor) String
debugInfo(dynamic context, String text) → dynamic
font(double value, {FontWeight? weight, dynamic color = "#666666", dynamic colorA, dynamic height, dynamic lineThrough = false, dynamic letterSpacing = false, dynamic fontFamily}) TextStyle
formCheck(FormKeyEnum key, dynamic value, [dynamic required = false]) → dynamic
formCheckToast(BuildContext context, FormKeyEnum key, dynamic value, [dynamic info = '', dynamic required = false]) bool
IconAdd(dynamic b, {dynamic size, dynamic radius}) Widget
IconRemove(dynamic b, {dynamic size, dynamic radius}) Widget
isNotNull(dynamic v) → dynamic
loggerWrite(String text, {bool isError = false}) → dynamic
main() → void
printLog(Object message, StackTrace current) → void
showConfirmDialog(BuildContext context, String text, {Function? confirmCallback, dynamic submitTitle = '确定', dynamic cancelTitle = "取消", dynamic title = '温馨提示'}) Future?
showLoading(dynamic context, [String text = "加载中,请等待..."]) → dynamic
showToast(dynamic context, String text) → dynamic
XAppBar(dynamic context, {String? title, PreferredSizeWidget? bottom, Widget? subTitle, Widget? titleWidget, double? tWidth, double? tHeight, Function? willPopFn, Widget? backWidget, Function? backWidgetFn, List<Widget>? actions, Color? backgroundColor, bool? elevation, double? toolbarHeight, String? theme = "light", bool automaticallyImplyLeading = true}) AppBar