TextHelper 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
-
convertNumberToText(String numberToFormat)
→ String
-
-
getCodeName(String fullName)
→ String
-
-
getCurrency(int amount, {bool withoutRp = false})
→ String
-
-
getCurrencyWithDecimal(double amount, {bool withoutRp = false})
→ String
-
-
getHiddenText(String text)
→ String
-
-
getShortAmount(int amount, {String? textMany, })
→ String
-
-
getTextLengthDependOnWidth({int maxLine = 1})
→ int
-
-
getTextWithReadMore(int maxLine, String text, dynamic readMore(), {String readMoreText = "Lihat selengkapnya", int marginOnText = 0, TextStyle? textStyleNonClickable, TextStyle? textStyleClickable})
→ Widget
-
-
getTotalText(int count, String word)
→ String
-
-
isNumeric(String s)
→ bool
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
removeCurrency(String text)
→ String
-
-
toString()
→ String
-
A string representation of this object.
inherited