mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-29 23:38:50 +02:00
11 lines
535 B
Dart
11 lines
535 B
Dart
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
|
|
/// True on low-end hardware (arm32-only or low-RAM, resolved at startup in
|
|
/// main.dart via a ProviderScope override). UI uses it to skip expensive
|
|
/// effects like the shell's backdrop blur.
|
|
final lowEndDeviceProvider = Provider<bool>((ref) => false);
|
|
|
|
/// Generic visual capability decided by the startup runtime profile. Effects
|
|
/// can consume this without hardcoding a device model or platform source.
|
|
final backdropBlurEnabledProvider = Provider<bool>((ref) => false);
|