platform_detect_wasm 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
- Simple implementation that enables ease of unit testing
Properties
- browser → Browser
-
Current browser info
no setter
-
defaultFeatureCssClassDecorators
→ List<
Feature> -
The Features that
decorateRootNodeWithPlatformClasses
will produce CSS classes for no matter what.final -
features
→ List<
Feature> ? -
Current browser feature support info
no setter
- operatingSystem → OperatingSystem
-
Current operating system info
no setter