https://github.com/shts/flutter-riverpod-sample
Flutter の RiverPod 検証用アプリ
https://github.com/shts/flutter-riverpod-sample
Last synced: 11 months ago
JSON representation
Flutter の RiverPod 検証用アプリ
- Host: GitHub
- URL: https://github.com/shts/flutter-riverpod-sample
- Owner: shts
- Created: 2022-05-27T09:14:58.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-27T09:16:27.000Z (about 4 years ago)
- Last Synced: 2025-06-02T07:10:26.894Z (about 1 year ago)
- Language: Dart
- Size: 120 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
サンプルプロジェクト。
RiverPod の動作確認と、Dio の intercepter 機能を使って API のトークン切れを検知してトークンを再発行するロジックを検証するために作成。
対応するサーバーは下記。
https://github.com/shts/mock-api-server
`lib/config.dart` を作成して、起動したサーバーの URL を追加しないと動かないので注意。
```lib/config.dart
String apiServerBaseUrl =
"http://~";
String tokenServerBaseUrl =
"http://~";
```