Basic framework #8

Merged
boom merged 16 commits from dev into production 2025-09-23 21:12:34 +02:00
Showing only changes of commit f3bee63893 - Show all commits

View File

@@ -60,7 +60,7 @@ class _AppService {
///
/// `serviceFactory` - A factory method to create the service implementation.
void registerSingleton<T extends Service>(T Function() serviceFactory) {
_kiwi.registerFactory<T>((c) => serviceFactory());
_kiwi.registerSingleton<T>((c) => serviceFactory());
}
/// Resolves and retrieves the registered service.