bloc_test
一个用于轻松测试 bloc 的测试库。专为与 bloc 状态管理包一起使用而设计。
使用 Flutter 的旅行应用 💙
一个用于轻松测试 bloc 的测试库。专为与 bloc 状态管理包一起使用而设计。
Dart 中的函数式编程。使用高效的不可变数据结构、单子、透镜和其他 FP 工具来净化您的 Dart 代码。
Injectable 是一个方便的代码生成器,用于 get_it。它受到 Angular DI、Guice DI 和 inject.dart 的启发。
Injectable 是一个方便的代码生成器,用于 get_it。它受到 Angular DI、Guice DI 和 inject.dart 的启发。
v7.0.2一个用于显示旗帜的 Flutter 包。所有旗帜均来自 https://github.com/lipis/flag-icons/releases/tag/v4.1.4。
^8.3.0^3.1.0^0.1.3^0.10.0-nullsafety.2^4.0.0^2.0.3^5.0.1{"sdk":"flutter"}^7.1.0^0.22.0^9.1.0any^2.1.0^1.4.1^1.4.1any^1.5.3^1.1.0^5.0.16any{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
Test support GitHub Repo stars GitHub forks
Cover
Airnbn is a simple prototype app which lists tourist destinations.
Before we start, you can take a look at the app:
Output sample
To clone and run this application, you'll need Git and Flutter installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/Shadow60539/travel_app.git
# Go into the repository
$ cd travel_app.git
# Install dependencies
$ flutter packages get
# Run the app
$ flutter run
Some very good packages are used in the project, not a big list.
Below are the information about these packages.
| package | explain |
|---|---|
| font_awesome_flutter | Awesome icons |
| flag | Country Flags |
| http | Network |
| cached_network_image | Caching Network Images |
| flutter_bloc | Bloc Pattern |
| lottie | Lottie files animations |
| google_fonts | Google fonts |
| freezed | Code generation for immutable classes |
| lint | Rules handler for Dart |
| build_runner | Build Custom Models |
The project directory structure is as follows:
├── android
├── asset
├── build
├── images
├── ios
├── lib
├── pubspec.lock
├── pubspec.yaml
Let me explain the other directories besides lib:
| DIRECTORY | INFO |
|---|---|
| images | readme images files |
| asset | images and lottie files |
Then the lib directory
lib
| DIRECTORY | INFO |
|---|---|
| application | State Management |
| core | Global Classes |
| domain | Abstract Classes |
| infrastructure | Domain implementation (backend) |
| presentation | UI |