showLoading static method
显示 Loading
Implementation
static void showLoading({String? description, int? duration}) {
BotToast.showCustomLoading(
backgroundColor: Colors.transparent,
duration: Duration(seconds: duration ?? ConfigStore.to.config.http.requestTimeOut),
toastBuilder: (cancelFunc) {
return CustomLoading(
description: description,
);
},
);
}