17 lines
405 B
Dart
17 lines
405 B
Dart
import '../domain/ports/theme_port.dart';
|
|
import '../infrastructure/adapteres/theme_adapter/theme_sf_adapter.dart';
|
|
|
|
class DiContainer{
|
|
final ThemePort theme;
|
|
|
|
DiContainer._({
|
|
required this.theme
|
|
});
|
|
|
|
static Future<DiContainer> bootstrap({Map<String, String>? overrides}) async {
|
|
//assets y temas
|
|
final ThemePort theme = ThemeSfAdapter();
|
|
|
|
return DiContainer._(theme: theme);
|
|
}
|
|
} |