Utils 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
-
downloadCallback(String id, int status, int progress)
→ void
-
-
downloadFileFromUrl(String url)
→ Future<void>
-
-
isValidEmail(String email)
→ bool
-
-
isValidPassword(String email)
→ bool
-
-
launchMaps({required String title, required double latitude, required double longitude, String? description, int? zoom, })
→ void
-
-
launchMapsDirections({String? destinationTitle, String? originTitle, List<Coords>? waypoints, DirectionsMode directionsMode = DirectionsMode.driving, required double latitude, required double longitude, double? latitudeOrigin, double? longitudeOrigin})
→ void
-
-
launchURL(String urlString, {LaunchMode? mode})
→ void
-
-
loadAsset({required String path})
→ Future<String>
-
-
loadFile(String path)
→ String
-
-
pickFile({List<String>? allowedExtensions})
→ Future<XFile?>
-
-
pickFiles({List<String>? allowedExtensions})
→ Future<List<XFile>?>
-
-
pickImage({required ImageSource source, double? maxWidth, double? maxHeight, int? imageQuality, CameraDevice preferredCameraDevice = CameraDevice.rear, bool requestFullMetadata = true})
→ Future<XFile?>
-
-
pickVideo({required ImageSource source, CameraDevice preferredCameraDevice = CameraDevice.rear, Duration? maxDuration})
→ Future<XFile?>
-
-
startInternetSubscription(void disconnectDialog())
→ void
-
-
stopInternetSubscription()
→ void
-