imgix_core_dart 1.0.0+1 copy "imgix_core_dart: ^1.0.0+1" to clipboard
imgix_core_dart: ^1.0.0+1 copied to clipboard

Imgix package for Dart.

example/main.dart

import 'package:imgix_core_dart/url_builder.dart';

void main() {
  final client = URLBuilder(
    domain: 'testing.imgix.net',
    shouldUseHttpsByDefault: true,
    defaultSignKey: '<SECURE TOKEN>',
  );

  final url = client.createURLString(
    '/path/to/image.png',
    params: {'w': '400', 'h': '300'},
  );
  print(url);
}