imgix_flutter

Last updated:

0 purchases

imgix_flutter Image
imgix_flutter Images
Add to Cart

Description:

imgix flutter

Imgix Flutter #
An Imgix Flutter wrapper to embed Imgix URLs with options easily. Uses imgix.
Install #
Add this to your package's pubspec.yaml file:
dependencies:
imgix_flutter: ^0.3.0
copied to clipboard
Usage #
API Docs
import 'package:imgix_flutter/imgix_flutter.dart';
import 'package:imgix/imgix.dart';
import 'package:flutter/material.dart';

main() {
final url = "https://assets.imgix.net/examples/treefrog.jpg";
final options = ImgixOptions(
width: 300,
height: 400,
format: ImgixFormat.jpg,
quality: 85,
auto: [ImgixAuto.compress],
);

runApp(MaterialApp(
home: Scaffold(
body: Center(
child: ImgixImage(
url,
options: options,
),
),
),
));
}
copied to clipboard
Features and bugs #

Some options are missing, please report them to imgix's issue tracker.

Please file feature requests and bugs at the issue tracker.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.