PlatformValue<T> constructor
const
PlatformValue<T> ({
- T? android,
- T? ios,
- T? linux,
- T? macOS,
- T? fallback,
- T? windows,
- T? web,
Implementation
const PlatformValue({
T? android,
T? ios,
T? linux,
T? macOS,
T? fallback,
T? windows,
T? web,
}) : _android = android,
_ios = ios,
_linux = linux,
_macOS = macOS,
_fallback = fallback,
_windows = windows,
_web = web;