AppUtils 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
-
assetIcon({required String assetName, double? height, double? width, BoxFit fit = BoxFit.cover})
→ Image
-
-
getActualMemberName(StringBuffer string)
→ Tuple2<StringBuffer, bool>
-
-
getExceptionMap(String code, String message)
→ Map
-
-
getInitials(String name)
→ String
-
- Build initials with given name.
- @parameter Name instance of Profile name
- return initials of the name.
-
getMapImageUrl(double latitude, double longitude)
→ String
-
-
getNameAndProfileDetails(String jid)
→ Future<Tuple2<String, ProfileDetails>>
-
-
groupedDateMessage(int index, List<ChatMessageModel> chatList)
→ String?
-
-
isDateChanged(int position, List<ChatMessageModel> mChatData)
→ bool
-
Checks the current header id with previous header id
@param position Position of the current item
@return boolean True if header changed, else false
-
isNetConnected()
→ Future<bool>
-
-
launchInWebViewOrVC(String url, String title)
→ Future<void>
-
-
launchWeb(Uri uri)
→ Future<void>
-
-
openDocument(String path)
→ dynamic
-
-
returnEmptyStringIfNull(dynamic value)
→ String
-
-
svgIcon({required String icon, BoxFit fit = BoxFit.contain, ColorFilter? colorFilter, double? width, double? height})
→ SvgPicture
-