thumbor 1.0.4
SDKflutter
Platformandroidioswindowslinuxmacosweb
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: 1.0.4
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(host: "http://thumbor.example.com", key: "123456789");
Then you can use this instance to create ThumborUrl
final thumbor = Thumbor(host: "http://thumbor.example.com", key: "123456789");
thumbor
.buildImage("http://images.google.com/im-feeling-lucky.jpg")
.toUrl();