LayzPlatformValue<T> constructor

LayzPlatformValue<T>({
  1. ValueGetter<T>? android,
  2. ValueGetter<T>? ios,
  3. ValueGetter<T>? linux,
  4. ValueGetter<T>? macOS,
  5. ValueGetter<T>? fallback,
  6. ValueGetter<T>? windows,
  7. ValueGetter<T>? web,
  8. ValueGetter<T>? tablet,
  9. ValueGetter<T>? phone,
  10. ValueGetter<T>? desktop,
})

Implementation

LayzPlatformValue({
  ValueGetter<T>? android,
  ValueGetter<T>? ios,
  ValueGetter<T>? linux,
  ValueGetter<T>? macOS,
  ValueGetter<T>? fallback,
  ValueGetter<T>? windows,
  ValueGetter<T>? web,
  ValueGetter<T>? tablet,
  ValueGetter<T>? phone,
  ValueGetter<T>? desktop,
}) {
  values = PlatformValue(
    android: android,
    ios: ios,
    linux: linux,
    macOS: macOS,
    fallback: fallback,
    windows: windows,
    web: web,
  );
}