DeviceValue<T> constructor
const
DeviceValue<T> ({
- T? web,
- T? phone,
- T? tablet,
- T? desktop,
- T? tv,
- T? watch,
- T? fallback,
Implementation
const DeviceValue({
T? web,
T? phone,
T? tablet,
T? desktop,
T? tv,
T? watch,
T? fallback,
}) : _web = web,
_tablet = tablet,
_phone = phone,
_tv = tv,
_watch = watch,
_desktop = desktop,
_fallback = fallback;