platform_detect library

Classes

Browser
Matches a browser name with how it is represented in window.navigator
Feature
A class of constants that represent the features that a browser supports.
OperatingSystem
Matches an operating system name with how it is represented in window.navigator
TestNavigator
Simple implementation that enables ease of unit testing

Properties

browser Browser
Current browser info
read-only
defaultFeatureCssClassDecorators List<Feature>
The Features that decorateRootNodeWithPlatformClasses will produce CSS classes for no matter what.
final
features List<Feature>
Current browser feature support info
read-only
operatingSystem OperatingSystem
Current operating system info
read-only