0 purchases
api call manager
TODO: Api Manager package allows us to call api simple
Usage #
you need to call this function like :
Future<void> getPost() async {
final data = await ApiManager()
.getData(apiUrl: "https://example.com");
setState(() => _post = data);
}
copied to clipboard
Aditional Information #
This package depends on flutter_easyloading :
so you need to do this in material app in main.dart.
MaterialApp(
builder: EasyLoading.init(),
debugShowCheckedModeBanner: false,
);
```
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.