Util class

Utility methods

Constructors

Util()

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

Operators

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

Static Properties

colorMap Map<String, Color>
getter/setter pair
userHome String?
Attempt to retrieve the 'home' folder of the user if running on a desktop.
no setter

Static Methods

base64GCloudList(List<int> data) String
base64GCloudString(String data) String
bmpDecode(Uint8List bytes, {int? frame}) → Image?
cast<T>(dynamic x, {required T fallback}) → T
convertColorNameToImageColor(String colorName) → Color
getImageEncoding(List<int> bytes) ImageEncoding
getUploadIdFromUrl(String locationUrl) String
gifDecode(Uint8List bytes, {int? frame}) → Image?
icoDecode(Uint8List bytes, {int? frame}) → Image?
jpegDecode(Uint8List bytes, {int? frame}) → Image?
pngDecode(Uint8List bytes, {int? frame}) → Image?
tiffDecode(Uint8List bytes, {int? frame}) → Image?
unixTimeStamp(DateTime dt) int
Convert a DateTime to a Unix Timestamp.