thumbor 0.0.3

  • Installing
  • Versions
  • new59

Dart Thumbor client

Dart client for the Thumbor image service


Add thumbor dependency to your pubspec.yaml:

  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: "", key: "123456789");

Then you can use this instance to create ThumborUrl

final thumbor = Thumbor(hostname: "", key: "123456789");

[0.0.3] - 12-07-2018

  • Adds resize
  • Adds manual crop
  • Adds trim with trimming orientation and tolerance

[0.0.2] - 12-07-2018

  • Fixes issue where images wouldn't load because the encoded HMAC wasnt URL safe

[0.0.1] - 28-06-2018

  • Initial release
  • Create simple URIs without any configurations

Use this package as a library

1. Depend on it

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

  thumbor: ^0.0.3

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:thumbor/thumbor.dart';
Version Uploaded Documentation Archive
0.0.3 Jul 12, 2018 Go to the documentation of thumbor 0.0.3 Download thumbor 0.0.3 archive
0.0.2 Jul 12, 2018 Go to the documentation of thumbor 0.0.2 Download thumbor 0.0.2 archive
0.0.1 Jun 28, 2018 Go to the documentation of thumbor 0.0.1 Download thumbor 0.0.1 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jul 20, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.69.0
  • pana: 0.11.7


Detected platforms: Flutter, web, other

No platform restriction found in primary library package:thumbor/thumbor.dart.

Issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see

The description is too short.

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Package is pre-v1 release.

While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction of the API.

Maintain an example.

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use thumbor.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.1.2 <2.0.0
crypto ^2.0.5 2.0.6
Transitive dependencies
charcode 1.1.2
collection 1.14.11
convert 2.0.2
typed_data 1.1.6
Dev dependencies
test ^1.2.0