Helper class

Constructors

Helper()

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 Methods

capitalize(String str) → String
durationToString(Duration duration) → String
formatBytes(int bytes, int decimals) → String
forMessageTypeIcon(String? messageType, [bool isAudioRecorded = false]) → Widget
forMessageTypeString(String? messageType) → String
getColourCode(String name) → int
getMapImageUri(double latitude, double longitude) → String
hideLoading({required BuildContext context}) → void
progressLoading({bool dismiss = false, required BuildContext context}) → void
showAlert({String? title, required String message, List<Widget>? actions, Widget? content, required BuildContext context}) → void
showButtonAlert({List<Widget>? actions, required BuildContext context}) → void
showLoading({String? message, bool dismiss = false, required BuildContext buildContext}) → void
showVerticalButtonAlert(BuildContext context, List<Widget> actions) → void