Logo

漫威宇宙

Marvel Universe 是一款通过 Marvel API 介绍漫威宇宙角色的应用程序。

内置

截图

项目结构

├── android
├── assets
│   ├── images
│   └── translations
├── ios
├── lib
│   ├── controller
│   ├── core
│   │   ├── constants
│   │   ├── extensions
│   │   ├── helper
│   │   ├── theme
│   │   └── utilities
│   ├── cubit
│   ├── model
│   ├── view
│   │   ├── not_found
│   │   └── home
│   │       ├── character_detail
│   │       └── characters
│   ├── main.dart
│   ├── splash_view.dart
├── pubspec.lock
└── pubspec.yaml

设计模式

项目的设计模式是 MVC

项目文件说明

assets/

此文件夹是项目资产文件所在的位置。

assets/images/

此文件夹是项目图片文件所在的位置。

assets/translations/

此文件是包含项目翻译文件的文件。

lib/

这是项目源代码所在的部分。

lib/controller/

这是控制项目业务流程的部分。

core/

这是项目核心文件夹所在的部分。

core/constants/

这是项目常量所在的部分。

core/theme/

这是项目主题所在的部分。

core/utilities/

这是项目中使用的自定义小部件所在的部分。

cubit/

这是项目状态管理所在的部分。

model

这是项目中包含来自 Marvel API 的数据模型的项目部分。

data/service

这是与 Marvel API 通信的部分。

presentation/

这是项目的演示层。

许可证

MIT License

Copyright (c) 2022 MERT GÜVEN

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

联系方式

⬆️

GitHub

查看 Github