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.