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
showError(BuildContext context, {String? message, APIErrors? error, bool? keepCurrentDialogOpen, Widget? prefix}) → void
showSuccess(BuildContext context, String message, {APIErrors? error, bool? keepCurrentDialogOpen, Widget? prefix}) → void
showWarning(BuildContext context, String message, {APIErrors? error, bool? keepCurrentDialogOpen, Widget? prefix}) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance Utils
final

Static Methods

compressImageV2(XFile sourceFile, int quality, {dynamic imageSizeCallBack(Size)?, int rotate = 0}) Future<XFile>
dismissKeyboard() → void
getOrientation(AccelerometerEvent event) DeviceOrientation