DataDetectorTypes class

Class used to specify a dataDetectoryTypes value that adds interactivity to web content that matches the value.

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSupported() → bool
Checks if the value is supported by the defaultTargetPlatform.
name() → String
Gets the name of the value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() → String?
Gets String native value if supported by the current platform, otherwise null.
toString() → String
A string representation of this object.
override
toValue() → String
Gets String value.

Operators

operator ==(Object value) → bool
The equality operator.
override

Static Properties

values → Set<DataDetectorTypes>
Set of all values of DataDetectorTypes.
final

Static Methods

asNameMap() → Map<String, DataDetectorTypes>
Creates a map from the names of DataDetectorTypes values to the values.
byName(String? name) → DataDetectorTypes?
Gets a possible DataDetectorTypes instance value with name name.
fromNativeValue(String? value) → DataDetectorTypes?
Gets a possible DataDetectorTypes instance from a native value.
fromValue(String? value) → DataDetectorTypes?
Gets a possible DataDetectorTypes instance from String value.

Constants

ADDRESS → const DataDetectorTypes
Addresses are detected and turned into links.
ALL → const DataDetectorTypes
All of the above data types are turned into links when detected. Choosing this value will automatically include any new detection type that is added.
CALENDAR_EVENT → const DataDetectorTypes
Dates and times that are in the future are detected and turned into links.
FLIGHT_NUMBER → const DataDetectorTypes
Flight numbers are detected and turned into links.
URLs in text are detected and turned into links.
LOOKUP_SUGGESTION → const DataDetectorTypes
Lookup suggestions are detected and turned into links.
NONE → const DataDetectorTypes
No detection is performed.
PHONE_NUMBER → const DataDetectorTypes
Phone numbers are detected and turned into links.
SPOTLIGHT_SUGGESTION → const DataDetectorTypes
Spotlight suggestions are detected and turned into links.
TRACKING_NUMBER → const DataDetectorTypes
Tracking numbers are detected and turned into links.