forked from Nexus/nexus
treewide(refactor): rename files to follow the same style
This commit is contained in:
parent
15d441e4c4
commit
7992f0e815
81 changed files with 167 additions and 167 deletions
|
|
@ -1,19 +0,0 @@
|
|||
import "dart:async";
|
||||
import "package:fast_immutable_collections/fast_immutable_collections.dart";
|
||||
import "package:flutter_riverpod/flutter_riverpod.dart";
|
||||
|
||||
class MultiProviderController extends AsyncNotifier<void> {
|
||||
MultiProviderController(this.providers);
|
||||
final IList<AsyncNotifierProvider> providers;
|
||||
|
||||
@override
|
||||
Future<void> build() =>
|
||||
.wait(providers.map((provider) => ref.watch(provider.future)));
|
||||
|
||||
static final provider =
|
||||
AsyncNotifierProvider.family<
|
||||
MultiProviderController,
|
||||
void,
|
||||
IList<AsyncNotifierProvider>
|
||||
>(MultiProviderController.new);
|
||||
}
|
||||
Loading…
Reference in a new issue