mirror of
https://github.com/hanskokx/arcane_framework.git
synced 2026-05-14 02:19:08 +02:00
Remove 'of' and 'requiredOf' locators
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -33,7 +33,7 @@ To use Arcane Framework in your Dart or Flutter project, follow these steps:
|
||||
runApp(
|
||||
ArcaneApp(
|
||||
services: [
|
||||
MyArcaneService.I,
|
||||
MyArcaneService(),
|
||||
],
|
||||
child: MainApp(),
|
||||
),
|
||||
@@ -55,7 +55,7 @@ A service's purpose is to facilitate cross-feature communication of small pieces
|
||||
class FavoriteColorService extends ArcaneService {
|
||||
static final FavoriteColorService _instance = FavoriteColorService._internal();
|
||||
|
||||
static FavoriteColorService get I => _instance;
|
||||
factory FavoriteColorService() => I._instance;
|
||||
|
||||
FavoriteColorService._internal();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user