imgix 0.2.0 copy "imgix: ^0.2.0" to clipboard
imgix: ^0.2.0 copied to clipboard

outdated

An Imgix library for Dart. Generate Imgix URLs with options easily

example/imgix_example.dart

import 'package:imgix/imgix.dart';

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

  print(url);
  // https://test.imgix.net/test.png?fm=jpg&h=200&w=100&auto=compress&q=75
}
4
likes
40
pub points
48%
popularity

Publisher

verified publishercretezy.com

An Imgix library for Dart. Generate Imgix URLs with options easily

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

meta

More

Packages that depend on imgix