You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
440 B
17 lines
440 B
1 year ago
|
/*
|
||
|
* Copyright (c) 2023. Open Mobile Platform LLC.
|
||
|
* License: Proprietary.
|
||
|
*/
|
||
|
import 'package:flutter_example_packages/base/build/build.config.dart';
|
||
|
import 'package:flutter_example_packages/pages/home/model.dart';
|
||
|
import 'package:get_it/get_it.dart';
|
||
|
|
||
|
final getIt = GetIt.instance;
|
||
|
|
||
|
/// Initialization application DI
|
||
|
void setupDI(BuildConfig config) {
|
||
|
getIt
|
||
|
..registerSingleton(config)
|
||
|
..registerFactory(() => HomeModel());
|
||
|
}
|