LayzDeviceValue<T> constructor
LayzDeviceValue<T> ({
- ValueGetter<
T> ? web, - ValueGetter<
T> ? phone, - ValueGetter<
T> ? tablet, - ValueGetter<
T> ? desktop, - ValueGetter<
T> ? fallback,
Implementation
LayzDeviceValue({
ValueGetter<T>? web,
ValueGetter<T>? phone,
ValueGetter<T>? tablet,
ValueGetter<T>? desktop,
ValueGetter<T>? fallback,
}) {
values = DeviceValue(
desktop: desktop,
phone: phone,
tablet: tablet,
web: web,
fallback: fallback,
);
}