hooks_riverpod
一个响应式缓存和数据绑定框架。Riverpod 让处理异步代码变得轻而易举。
使用 Riverpod 和 Freezed 以及 Dio 进行 REST API 的 Flutter 加密货币应用
一个响应式缓存和数据绑定框架。Riverpod 让处理异步代码变得轻而易举。
轻松快速地为您的 Flutter 应用程序进行国际化和本地化,此包简化了国际化过程。
v3.0.1几分钟内为 Flutter 应用创建原生设置。使用单一接口进行构建
使用 .env 文件轻松配置任何 Flutter 应用程序的全局变量。
一个简单易用的 Dio 模拟包,专为测试设计。它提供了多种类型和方法,用于声明式地模拟请求-响应通信。
适用于 Flutter 的优雅 OHLC K 线和交易量图表。
{"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.