thumbor 1.0.0 copy "thumbor: ^1.0.0" to clipboard
thumbor: ^1.0.0 copied to clipboard

outdated

A Thumbor client for Dart. Use this to generate generate the URLs to communicate to your Thumbor service

Dart Thumbor client #

Dart client for the Thumbor image service

Usage #

Add thumbor dependency to your pubspec.yaml:

dependencies:
  thumbor: any

In your Dart code, import package:thumbor/thumbor.dart and create a Thumbor using the hostname of your server and optionally your key:

import 'package:thumbor/thumbor.dart';

final thumbor = Thumbor(hostname: "http://thumbor.example.com", key: "123456789");

Then you can use this instance to create ThumborUrl


final thumbor = Thumbor(hostname: "http://thumbor.example.com", key: "123456789");
thumbor
  .buildImage("http://images.google.com/im-feeling-lucky.jpg")
  .toUrl();

1
likes
0
pub points
62%
popularity

Publisher

verified publisherquirijngb.com

A Thumbor client for Dart. Use this to generate generate the URLs to communicate to your Thumbor service

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

crypto

More

Packages that depend on thumbor