// SPDX-License-Identifier: Apache-2.0 import 'package:flutter_riverpod/flutter_riverpod.dart'; final LeftSlider = StateNotifierProvider( (ref) => leftclimate(), ); class leftclimate extends StateNotifier { leftclimate() : super(0); Future update(value) async { state = value; } } final RightSlider = StateNotifierProvider( (ref) => Rightclimate(), ); class Rightclimate extends StateNotifier { Rightclimate() : super(0); Future update(value) async { state = value; } } final fanSpeedProvider = StateNotifierProvider((ref) => fanslider()); class fanslider extends StateNotifier { fanslider() : super(30); void update(value) { state = value; } }