feat: Implement Hubs feature with dedicated navigation, a home page action card, a settings quick link, and localization.
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
import 'package:flutter_modular/flutter_modular.dart';
|
||||
import 'mocks/auth_repository_mock.dart';
|
||||
import 'mocks/business_repository_mock.dart';
|
||||
import 'mocks/home_repository_mock.dart';
|
||||
|
||||
/// A module that provides Data Connect dependencies, including mocks.
|
||||
class DataConnectModule extends Module {
|
||||
@override
|
||||
void exportedBinds(Injector i) {
|
||||
// Make the AuthRepositoryMock available to any module that imports this one.
|
||||
// Make these mocks available to any module that imports this one.
|
||||
i.addLazySingleton(AuthRepositoryMock.new);
|
||||
i.addLazySingleton(HomeRepositoryMock.new);
|
||||
i.addLazySingleton(BusinessRepositoryMock.new);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user