Made ArcaneServiceProvider.of(context) nullable

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2025-04-29 11:55:08 +02:00
parent 1510ded49d
commit b7c55913e9
2 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ void main() {
child: Builder(
builder: (context) {
final provider = ArcaneServiceProvider.of(context);
expect(provider.serviceInstances, equals(testServices));
expect(provider?.serviceInstances, equals(testServices));
return const SizedBox();
},
),