get_arch_core
GetArch core package
Getting Started
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await GetArchApplication.run(
EnvConfig(
'Your App Name',
'Lib Version / App Version',
DateTime(2020, 6, 30),
EnvSing.prod,
),
printConfig: !kReleaseMode,
packages: [
// ... other GetArch package/ app ...
]);
runApp(MyApp());
}
Complete project structure:
lib |-- domain | |-- entity ... | |-- data_model ... | |-- errors ... | '-- failures ... |-- application | |-- usecase ... | '-- i_repo ... |-- interfaces | |-- dto ... | |-- view_mdoel ... | |-- i_api ... | |-- i_data_source ... | '-- repo_impl ... |-- infrastructure | |-- ui | | |-- page ... | | '-- view ... | |-- api_impl ... | '-- data_source_impl ... |-- profile | |-- config_model.dart | |-- xxx_package.dart | '-- ... '-- main.dart
GetArch
GetArch Universe
Libraries
- env_config
- extension
- get_arch_application
- get_arch_core
- get_arch_other
- 如非必要, 请勿使用 get_arch_other, 尽量使用 get_arch_core.dart / get_arch_part.dart
- i_dto
- i_entity
- i_failure
- i_get_arch_package
- i_repo
- i_usecase