* chore: remove unused methods * Remove dead test group --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Co-authored-by: Adam Gastineau <adam@agg.im>
18 lines
351 B
Dart
18 lines
351 B
Dart
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
|
|
final showControlsProvider = StateNotifierProvider<ShowControls, bool>((ref) {
|
|
return ShowControls(ref);
|
|
});
|
|
|
|
class ShowControls extends StateNotifier<bool> {
|
|
ShowControls(this.ref) : super(true);
|
|
|
|
final Ref ref;
|
|
|
|
bool get show => state;
|
|
|
|
set show(bool value) {
|
|
state = value;
|
|
}
|
|
}
|