pexels_photos_videos 0.0.8 pexels_photos_videos: ^0.0.8 copied to clipboard
This package will help you to get data from pexels.com. It's easy to use and get all details related to media which is requested.
import 'package:flutter/foundation.dart';
import 'package:pexels_photos_videos/pexels_media.dart';
import 'package:pexels_photos_videos/pexels_result.dart';
void main() async {
PexelsResult result = await PexelsMedia()
.getPexelsPhotos('place your auth key here', 'image Id');
if (kDebugMode) {
print(result.photographer);
}
}