pexels_photos_videos 0.0.4 pexels_photos_videos: ^0.0.4 copied to clipboard
This package will help you to get data from pexels.com
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pexels_photos_videos
With Flutter:
$ flutter pub add pexels_photos_videos
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
pexels_photos_videos: ^0.0.4
Alternatively, 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:pexels_photos_videos/const_strings.dart';
import 'package:pexels_photos_videos/pexels_media.dart';
import 'package:pexels_photos_videos/pexels_result.dart';