// SPDX-License-Identifier: Apache-2.0 import 'package:flutter_riverpod/flutter_riverpod.dart'; final LeftClimateTempProvider = StateNotifierProvider( (ref) => LeftClimateTemp(), ); class LeftClimateTemp extends StateNotifier { LeftClimateTemp() : super(22); Future update(value) async { state = value; } } final RightClimateTempProvider = StateNotifierProvider( (ref) => RightClimateTemp(), ); class RightClimateTemp extends StateNotifier { RightClimateTemp() : super(22); Future update(value) async { state = value; } } final fanSpeedProvider = StateNotifierProvider((ref) => fanslider()); class fanslider extends StateNotifier { fanslider() : super(30); void update(value) { state = value; } }