ApUtils class
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
Static Methods
-
callPhone(String url)
→ Future<void>
-
-
launchFbFansPage(BuildContext context, String fansPageId)
→ Future<void>
-
-
launchUrl(String url)
→ Future<void>
-
-
openAppReview({String defaultUrl = ''})
→ Future<void>
-
-
pickImage({ImageSource? imageSource, CameraDevice? preferredCameraDevice, List<String>? extensions})
→ Future<XFile?>
-
-
pushCupertinoStyle(BuildContext context, Widget page)
→ void
-
-
saveImage(BuildContext context, {required ByteData byteData, required String fileName, required String successMessage, GeneralResponseCallback? onSuccess, GeneralResponseCallback? onError})
→ Future<void>
-
-
shareTo(String content, {Rect? sharePositionOrigin})
→ Future<void>
-
-
showAppReviewDialog(BuildContext context, String defaultUrl)
→ Future<void>
-
-
showAppReviewSheet(BuildContext context, String defaultUrl)
→ Future<void>
-
-
showToast(BuildContext context, String? message, {int? gravity})
→ void
-