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

outdated

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

Imgix Dart #

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

Install #

Add this to your package's pubspec.yaml file:

dependencies:
  imgix: ^0.1.1

Usage #

API Docs

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
}

Features and bugs #

Some options are missing. They will be added on request, or open a pull request!

Please file feature requests and bugs at the [issue tracker][https://github.com/Cretezy/imgix.dart].

4
likes
0
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

unknown (license)

More

Packages that depend on imgix