Last updated:
0 purchases
mtpl api
APIs package lets you call APIs easily to your Flutter app.
Features #
All APIs methods in single package. User just need to add and import the package.
Getting started #
Add the latest version of mtpl_api package to your pubspec.yaml and run dart pub get.
Usage #
Make class for using package and pass required parameter.
class DemoHttpAction {
static HttpActions httpActions = HttpActions(
header: {"": ""},
noInternetPage: const NoInternetScreen(),
url: "",
globalContext: navigatorKey.currentContext)
..addAuthorizationToken(getToken());
}
Future<Map<String, String>> getToken() {
return Future.value({
"":""
});
//return Future.value({});
}
copied to clipboard
Additional information #
APIs package lets you call APIs easily to your Flutter app.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.