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 |