module/ui/easy_loading/k_easy_load
library
Functions
-
kdismissLoading()
→ void
-
取消loading
-
kshowError(String? text, {int? seconds})
→ void
-
显示错误
seconds:显示时长,单位-秒
-
kshowInfo(String? text, {int? seconds})
→ void
-
显示提示
seconds:显示时长,单位-秒
-
kshowLoading({String? text, bool dismissOnTap = false, EasyLoadingMaskType maskType = EasyLoadingMaskType.black})
→ void
-
提示对话框
显示loading时,不允许用户交互
dismissOnTap:点击空白区域是否可以取消
maskType:背景遮罩颜色
-
kshowSuccess(String? text, {int? seconds})
→ void
-
显示成功
seconds:显示时长,单位-秒
-
ktoast(String? text, {EasyLoadingToastPosition position = EasyLoadingToastPosition.bottom, int? seconds})
→ void
-
显示toast