TextUtils 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
-
addTextWatermarkCentered(Uint8List imgBytes, String watermarkText, int dstX, int dstY, {BitmapFont? font, Color color = Colors.black, bool rightJustify = false})
→ Uint8List
-
-
capitalizeFirstLetter(String text)
→ String
-
-
convertFullAddress({String? addressLine, String? wardName, String? districtName, String? provinceName})
→ String
-
hàm này convert thành full address
-
displayDistance(double? distance)
→ String?
-
-
removeUnicode(String? strData)
→ String
-
hàm này dùng để xóa dấu của tiếng việt
-
revertFullAddress(String? fullAddress)
→ Tuple4<String, String, String, String>
-
hàm này revert địa chỉ trả về :
-
shortText(String? text, int length)
→ String
-
-
shortUserName(String userName)
→ String
-