wordpress_rest_api 0.0.1 wordpress_rest_api: ^0.0.1 copied to clipboard
The WordPress REST API Flutter Package is a convenient and easy-to-use Flutter package that provides functionality to retrieve posts from a WordPress site using the WordPress REST API.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add wordpress_rest_api
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
wordpress_rest_api: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:wordpress_rest_api/wordpress_rest_api.dart';