hooks_riverpod
一個反應式快取與資料繫結框架。Riverpod 讓處理非同步程式碼變得輕鬆自在。
使用 Riverpod 與 Freezed 以及 Dio 進行 REST API 的 Flutter 加密貨幣應用
一個反應式快取與資料繫結框架。Riverpod 讓處理非同步程式碼變得輕鬆自在。
輕鬆快速地為您的 Flutter 應用程式進行國際化和本地化,此套件簡化了國際化流程。
v3.0.1幾分鐘內為 Flutter 應用建立原生設定。使用單一介面進行建構
使用 .env 檔案輕鬆設定任何 Flutter 應用程式的全域變數。
一個簡單易用的 Dio 模擬套件,專為測試設計。它提供多種類型和方法,用於宣告式模擬請求-回應通訊。
適用於 Flutter 的優雅 OHLC 蜡燭圖和交易量圖表。
{"sdk":"flutter"}^1.0.02.0.0-dev.32.0.0-dev.3^4.0.0^5.0.0^0.36.1^2.0.2^3.0.0-nullsafety.0^5.0.2^3.0.0—{"git":"https://github.com/salvadordeveloper/flutter-candlesticks.git"}^5.0.9{"sdk":"flutter"}{"sdk":"flutter"}^0.3.2———^0.9.0^1.1.8+4以下為英文專案原文快照,最新內容請造訪 GitHub。
Complete Flutter Application with Riverpod & Freezed + Dio for API REST.
test build codecov Flutter version GitHub license
https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/cover.png| Home | Details | Settings |
|---|---|---|
| https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/1_dark.jpeg | https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/2_dark.jpeg | https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/3_dark.jpeg |
| https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/1_light.jpeg | https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/2_light.jpeg | https://raw.githubusercontent.com/salvadordeveloper/flutter-crypto-app/HEAD/screenshots/3_light.jpeg |
Download project
git clone https://github.com/salvadordeveloper/flutter-crypto-app
Get flutter dependencies
flutter pub get
You need to create an account at https://cryptowat.ch/ to get a personal API KEY
Rename the env.example file to .env and put there you API KEY
API_KEY={CryptoWatch_KEY}
Run the app
flutter run
If you have any error with generated files try to run this
flutter pub run build_runner build --delete-conflicting-outputs
Unit Test
flutter test
Integration Test
flutter drive --driver=test_driver/integration_test.dart --target=integration_test/main_test.dart
MIT License
Copyright (c) 2022 Salvador Valverde
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.