TextPatternDetector 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
extractDetections(
String value, RegExp detectionRegExp) → List< String> - Extract detections from the text
-
getDetectedTextSpan(
{required TextStyle decoratedStyle, required TextStyle basicStyle, required String source, required RegExp detectionRegExp, dynamic onTap(String)?, bool decorateAtSign = false}) → TextSpan - Returns textSpan with detected text
-
getDetectedTextSpanWithExtraChild(
{required TextStyle decoratedStyle, required TextStyle basicStyle, required String source, required RegExp detectionRegExp, dynamic onTap(String)?, bool decorateAtSign = false, List< InlineSpan> ? children}) → TextSpan -
isDetected(
String value, RegExp detectionRegExp) → bool - Check if the text has detection