This is a package based on Dio with a few extra QOL features. Custom made for Flutter Circle.
Features
🌐 Extension on Dio client
🍋 Token refresh with FreshSecureTokenStorage for OAuth tokens
📑 Formatted logging
❗️ Basic error handling widgets to be used together with runZonedGuarded
❌ Cancel requests
🛡️ Protected/Unprotected
📦 In separately importable package
Getting started
This is a package based on Dio with a few extra QOL features. Custom made for Flutter Circle.
Usage
Create a WiseClient and use it like you would any other Dio client.
final options = WiseOptions.base(url: url);
final client = WiseClient();
Libraries
- wiseclient
- Barrel file for base client.