mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 20:33:42 +08:00
13 lines
416 B
Dart
13 lines
416 B
Dart
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
import 'package:hive/hive.dart';
|
|
import 'package:starcitizen_doctor/app.dart';
|
|
|
|
extension ProviderExtension on AutoDisposeNotifier {
|
|
AppGlobalModel get appGlobalModel =>
|
|
ref.read(appGlobalModelProvider.notifier);
|
|
|
|
AppGlobalState get appGlobalState => ref.read(appGlobalModelProvider);
|
|
|
|
Box<dynamic>? get appConfBox => appGlobalState.appConfBox;
|
|
}
|