cloudinary_flutter 0.9.0 cloudinary_flutter: ^0.9.0 copied to clipboard
Cloudinary is a cloud service that offers a solution to a web application's entire image management pipeline
import 'package:cloudinary_url_gen/cloudinary.dart';
import 'package:cloudinary_flutter/image/cld_image.dart';
import 'package:cloudinary_flutter/cloudinary_context.dart';
import 'package:flutter/material.dart';
void main() {
CloudinaryContext.cloudinary =
Cloudinary.fromCloudName(cloudName: "<your_cloud_name>");
runApp(App());
}
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: SizedBox(
width: 200,
height: 140,
child: CldImageWidget(
publicId: "dog",
),
),
),
),
);
}
}