hashtagable library
Classes
- Detection
- DataModel to explain the unit of word in detection system
- Detector
- Hold functions to decorate tagged text
- HashTagText
- Show decorated tagged text only to be shown
- HashTagTextField
- A material design text field.
- TextInputType
- The type of information for which to optimize the text input control.
Enums
- SmartDashesType
- Indicates how to handle the intelligent replacement of dashes in text input.
- SmartQuotesType
- Indicates how to handle the intelligent replacement of quotes in text input.
- TextCapitalization
- Configures how the platform keyboard will select an uppercase or lowercase keyboard.
- TextInputAction
- An action the user has requested the text input control to perform.
Constants
- hashTagContentLetters → const String
Properties
- hashTagAtSignRegExp → RegExp
-
Regular expression when you select decorateAtSign
final
- hashTagRegExp → RegExp
-
Regular expression to extract hashtag from text
final
Functions
-
extractHashTags(
String value) → List< String> - Extract hashTags from the text
-
getHashTagTextSpan(
{required TextStyle decoratedStyle, required TextStyle basicStyle, required String source, dynamic onTap(String)?, bool decorateAtSign = false}) → TextSpan - Returns textSpan with decorated tagged text
-
hasHashTags(
String value) → bool - Check if the text has hashTags
Typedefs
- InputCounterWidgetBuilder = Widget? Function(BuildContext context, {required int currentLength, required bool isFocused, required int? maxLength})
- Signature for the HashTagTextField.buildCounter callback.