zoomable_image 1.3.1

  • README.md
  • Example
  • Installing
  • Versions
  • 90

zoomable_image #

A dart+flutter package for panning and zooming images by touch.

Getting Started #

// You can use any ImageProvider, including NetworkImage and FileImage.
new ZoomableImage(new AssetImage('images/squirrel.jpg'), scale: 16.0)

That's all you need. See below and example/ for squirrels.

demo!

example/README.md

zoomable_image_example #

An extremely simple demo of the zoomable_image plugin.

Use this package as a library

1. Depend on it

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


dependencies:
  zoomable_image: ^1.3.1

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

Alternatively, your editor might support 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:zoomable_image/zoomable_image.dart';
  
Version Uploaded Documentation Archive
1.3.1 Jan 30, 2019 Go to the documentation of zoomable_image 1.3.1 Download zoomable_image 1.3.1 archive
1.2.1+1 Sep 4, 2018 Go to the documentation of zoomable_image 1.2.1+1 Download zoomable_image 1.2.1+1 archive
1.2.1 Sep 4, 2018 Go to the documentation of zoomable_image 1.2.1 Download zoomable_image 1.2.1 archive
1.2.0 May 3, 2018 Go to the documentation of zoomable_image 1.2.0 Download zoomable_image 1.2.0 archive
1.1.2 Nov 25, 2017 Go to the documentation of zoomable_image 1.1.2 Download zoomable_image 1.1.2 archive
1.1.1 Jul 13, 2017 Go to the documentation of zoomable_image 1.1.1 Download zoomable_image 1.1.1 archive
1.1.0 May 18, 2017 Go to the documentation of zoomable_image 1.1.0 Download zoomable_image 1.1.0 archive
1.0.5 May 15, 2017 Go to the documentation of zoomable_image 1.0.5 Download zoomable_image 1.0.5 archive
1.0.4 May 13, 2017 Go to the documentation of zoomable_image 1.0.4 Download zoomable_image 1.0.4 archive
1.0.3 May 11, 2017 Go to the documentation of zoomable_image 1.0.3 Download zoomable_image 1.0.3 archive

All 12 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
92
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
69
Overall:
Weighted score of the above. [more]
90
Learn more about scoring.

We analyzed this package on Apr 24, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.4.7

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/src/zoomable_image.dart. (-1 points)

Analysis of lib/src/zoomable_image.dart reported 2 hints:

line 10 col 1: This function has a return type of 'Size', but doesn't end with a return statement.

line 10 col 6: The function '_containmentSize' isn't used.

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

The package description is too short. (-11 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0 < 3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8