Utils class Null safety

Constructors

Utils()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

askPermissionCamera(BuildContext context, Function handle) → void
askPermissionGPS(BuildContext context, Function handle) → void
askPermissionPhotos(BuildContext context, Function handle) → void
askPermissionStore(BuildContext context, Function handle) → void
imageOk(String? value) bool
isEmpty(String? text) bool
isNotEmpty(String text) bool
showModalDialog({required BuildContext context, required Widget view, double radius = 10, bool useRootNavigator = false}) Future
showToast(String title, {bool isLong = false}) → void