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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Properties
-
emojiRegex
→ RegExp
-
From
https://github.com/duocnguyen6799/remove_emoji_input_formatter/blob/main/lib/src/constant.dart
final
Static Methods
-
getPartsBetweenSymbol({required String text, required String symbol, required int symbolLength, required TextStyle? defaultStyle, required TextStyle? highlightedStyle})
→ List<(String, TextStyle?)>
-
Split the text into parts.
Eg: with the symbol '*'
'Hello world!' =>
('Hello ', defaultStyle), ('world', highlightedStyle), ('!', defaultStyle)