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
-
askPermission({required BuildContext context, required Function handle, required Permission permission})
→ void
-
-
askPermissionCamera(BuildContext context, Function handle)
→ void
-
-
askPermissionGPS(BuildContext context, Function handle)
→ void
-
-
askPermissionMic(BuildContext context, Function handle)
→ void
-
-
askPermissionPhotos(BuildContext context, Function handle)
→ void
-
-
askPermissionStore(BuildContext context, Function handle)
→ void
-
-
handleError(BuildContext context, dynamic e)
→ void
-
-
hasPermissionStorage()
→ Future<bool>
-
-
imageOk(String? value)
→ bool
-
-
isEmpty(String? text)
→ bool
-
-
isNotEmpty(String? text)
→ bool
-
-
navigatePage(BuildContext context, Widget widget)
→ Future
-
-
navigateToRoot(BuildContext context)
→ void
-
-
setGuiderPmsV(Widget value)
→ void
-
-
setTs({Color? txColor, Color? bgColor, dynamic child})
→ void
-
-
showArlet(BuildContext context, Widget view, {EdgeInsets? padding, Color? bgColor, BorderSide? side})
→ Future
-
-
showBottomSheet(BuildContext context, Widget widget, {bool fixContent = false, bool useRootNavigator = false})
→ Future
-
-
showModalDialog({required BuildContext context, required Widget view, double radius = 10, bool useRootNavigator = false, Color? bg, ValueChanged<BuildContext>? ctx})
→ Future
-
-
showToast(String title, {bool isLong = true, ToastGravity? gravity})
→ Future
-
-
showToastCx(BuildContext context, {Widget? child, String? title, Duration? toastDuration, ToastGravity? gravity})
→ void
-
-
toJson(String? value)
→ Map<String, dynamic>?
-