PageMixins class

Implementers

Constructors

PageMixins.new()

Properties

co ReponseConfig?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mRequestTimes int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

hideLoading(BuildContext context, bool isShowLoading) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request2Download(String url, String savePath, BuildContext context, {bool isShowLoading = true, String loadingContent = "请求中...", Map<String, dynamic>? queryParameters, bool isShowToast = true, bool backDismissible = true, ProgressCallback? onReceiveProgress}) Future
request2Get(String url, BuildContext context, {bool isShowLoading = true, String loadingContent = "请求中...", Map<String, dynamic>? queryParameters, Function? onSuccess, bool isShowToast = true}) Future
request2Post(String url, BuildContext context, {bool isShowLoading = true, String loadingContent = "请求中...", dynamic data, bool isShowToast = true, Map<String, dynamic>? queryParameters}) → dynamic
request2PostBody(String url, BuildContext context, {bool isShowLoading = true, String loadingContent = "请求中...", dynamic data, bool isShowToast = true, Map<String, dynamic>? queryParameters, Function? sendProcess}) → dynamic
toString() String
A string representation of this object.
inherited
updateLoading(BuildContext context, String loadingContent, {bool backDismissible = true}) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited