IOSWKDataDetectorTypes class

An iOS-specific class used to specify a dataDetectoryTypes value that adds interactivity to web content that matches the value.

NOTE: available on iOS 10.0+.

Use DataDetectorTypes instead.

Annotations

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<IOSWKDataDetectorTypes>
Set of all values of IOSWKDataDetectorTypes.
final

Static Methods

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

Constants

ADDRESS → const IOSWKDataDetectorTypes
Addresses are detected and turned into links.
ALL → const IOSWKDataDetectorTypes
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 IOSWKDataDetectorTypes
Dates and times that are in the future are detected and turned into links.
FLIGHT_NUMBER → const IOSWKDataDetectorTypes
Flight numbers are detected and turned into links.
URLs in text are detected and turned into links.
LOOKUP_SUGGESTION → const IOSWKDataDetectorTypes
Lookup suggestions are detected and turned into links.
NONE → const IOSWKDataDetectorTypes
No detection is performed.
PHONE_NUMBER → const IOSWKDataDetectorTypes
Phone numbers are detected and turned into links.
SPOTLIGHT_SUGGESTION → const IOSWKDataDetectorTypes
Spotlight suggestions are detected and turned into links.
TRACKING_NUMBER → const IOSWKDataDetectorTypes
Tracking numbers are detected and turned into links.