lemmur-app-android/lib/hooks/stores.dart

9 lines
312 B
Dart
Raw Normal View History

2020-09-16 23:15:42 +02:00
import 'package:flutter_hooks/flutter_hooks.dart';
import 'package:provider/provider.dart';
import '../stores/accounts_store.dart';
import '../stores/config_store.dart';
AccountsStore useAccountsStore() => useContext().watch<AccountsStore>();
ConfigStore useConfigStore() => useContext().watch<ConfigStore>();