contentful 3.0.5
contentful: ^3.0.5 copied to clipboard
Contentful Delivery API client for Dart. This Dart package is a small abstraction on top of the Contentful Delivery API.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add contentfulWith Flutter:
$ flutter pub add contentfulThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
contentful: ^3.0.5Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:contentful/contentful.dart';