Feature class

A class of constants that represent the features that a browser supports.

Constructors

Feature(String name, bool isSupported)

Properties

hashCode int
The hash code for this object.
no setteroverride
isSupported bool
Whether the feature is supported by the current browser.
final
name String
The string representation of the feature that can be used via decorateRootNodeWithPlatformClasses as a CSS class on the <html> element for conditional CSS styling.
final
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 ==(dynamic other) bool
The equality operator.
override

Static Properties

msTouchEvents Feature
Whether the internet explorer browser supports touch events.
final
touchEvents Feature
Whether the browser supports TouchEvents.
final