imgix_flutter 0.1.1 copy "imgix_flutter: ^0.1.1" to clipboard
imgix_flutter: ^0.1.1 copied to clipboard

outdated

An Imgix Flutter wrapper to embed Imgix URLs with options easily

example/imgix_flutter_example.dart

import 'package:imgix_flutter/imgix_flutter.dart';
import 'package:imgix/imgix.dart';
import 'package:flutter/material.dart';

main() {
  final url = "https://test.imgix.net/test.png";
  final options = ImgixOptions(
    width: 100,
    height: 200,
    format: ImgixFormat.jpg,
    quality: 75,
    auto: [ImgixAuto.compress],
  );

  runApp(MaterialApp(
    home: Scaffold(
      body: Center(
        child: ImgixImage(
          url,
          options: options,
        ),
      ),
    ),
  ));
}
0
likes
40
pub points
62%
popularity

Publisher

verified publishercretezy.com

An Imgix Flutter wrapper to embed Imgix URLs with options easily

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, imgix

More

Packages that depend on imgix_flutter