utils/Utils library

Classes

DialogButtons

Functions

decodePoly(String encoded) List<List<double>>
errorWidget(BuildContext context, {dynamic callback()?, Object? error}) Widget
getCurrentPosition({LocationAccuracy desiredAccuracy = LocationAccuracy.medium, bool forceAndroidLocationManager = false, Duration? timeLimit = const Duration(seconds: 7)}) Future<Position>
getImageFromLocalStorage() Future<Uint8List?>
readImagePath({required dynamic context, ImageSource source = ImageSource.camera, bool preview = true}) Future<String?>
safeCall<T>(Future<T> future, [BuildContext? context]) Future<T?>
showAlertDialog({required BuildContext context, String? title, String? message, List<Widget>? actions}) Future
showSnackBar(SnackBar snackBar, BuildContext context) ScaffoldFeatureController<SnackBar, SnackBarClosedReason>