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
-
durationToMinutes(Duration duration)
→ String
-
Returns a string representation of the duration in the format
-
generateLimitString(String term)
→ String
-
-
generateOwnerPathFromArray(List<String> ownerPath)
→ Map<String, String>
-
-
generateRandomString(int len)
→ String
-
-
isMobileNative()
→ bool
-
-
launchUrl(TargetPlatform platform, String url)
→ void
-
-
moveElementLeft(List input, dynamic element)
→ void
-
-
moveElementRight(List input, dynamic element)
→ void
-
-
showAlert({required BuildContext context, required String title, required String message, String? buttonTitle})
→ dynamic
-
-
showConfirm({required BuildContext context, required String title, required String message, String? positiveButtonTitle, String? negativeButtonTitle})
→ dynamic
-
-
splitQueryString(String query)
→ Map<String, String>
-