All Projects → EPNW → scalable_image

EPNW / scalable_image

Licence: BSD-2-Clause license
A widget that shows an image which can be scaled and dragged using gestures.

Programming Languages

dart
5743 projects
objective c
16641 projects - #2 most used programming language
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to scalable image

Flutter speed dial
Flutter plugin to implement a Material Design Speed Dial
Stars: ✭ 206 (+1273.33%)
Mutual labels:  flutter-plugin
Sqfentity
SqfEntity ORM for Flutter/Dart lets you build and execute SQL commands on SQLite database easily and quickly with the help of fluent methods similar to .Net Entity Framework. SqfEntity also generates add/edit forms with validations and special controls (DropDown List, DateTime pickers, Checkboxes.. etc) for your table.
Stars: ✭ 237 (+1480%)
Mutual labels:  flutter-plugin
flutter wechat
flutter wechat
Stars: ✭ 76 (+406.67%)
Mutual labels:  flutter-plugin
App review
App Review - Request and Write Reviews and Open Store Listing for Android and iOS in Flutter. Maintainer: @rodydavis
Stars: ✭ 213 (+1320%)
Mutual labels:  flutter-plugin
Flutter fluid slider
A fluid design slider that works just like the Slider material widget.
Stars: ✭ 232 (+1446.67%)
Mutual labels:  flutter-plugin
flutter bolg manage
Flutter实战项目,采用Getx框架管理,遵循Material design设计风格,适合您实战参考或练手
Stars: ✭ 373 (+2386.67%)
Mutual labels:  flutter-plugin
Flutterexampleapps
[Example APPS] Basic Flutter apps, for flutter devs.
Stars: ✭ 15,950 (+106233.33%)
Mutual labels:  flutter-plugin
flutter opencv
Flutter plug-in providing (a few) basic bindings to OpenCV-4.x. OpenCV methods implemented without the Core packages. WIP.
Stars: ✭ 119 (+693.33%)
Mutual labels:  flutter-plugin
Flip box bar
A 3D Bottom Navigation Bar in Flutter
Stars: ✭ 236 (+1473.33%)
Mutual labels:  flutter-plugin
playify
Playify is a Flutter plugin for play/pause/seek songs, fetching music metadata, and browsing music library.
Stars: ✭ 32 (+113.33%)
Mutual labels:  flutter-plugin
Flutter plugin record
flutter 仿微信录制语音功能 支持android和ios
Stars: ✭ 214 (+1326.67%)
Mutual labels:  flutter-plugin
Betterplayer
Better video player for Flutter, with multiple configuration options. Solving typical use cases!
Stars: ✭ 205 (+1266.67%)
Mutual labels:  flutter-plugin
firebase dart sdk
Unofficial Firebase Flutter SDK. Maintainer: @long1eu
Stars: ✭ 84 (+460%)
Mutual labels:  flutter-plugin
Scratcher
Scratch card widget which temporarily hides content from user.
Stars: ✭ 210 (+1300%)
Mutual labels:  flutter-plugin
flutter shortcuts
Flutter plugin for creating static & dynamic app shortcuts on the home screen.
Stars: ✭ 47 (+213.33%)
Mutual labels:  flutter-plugin
Awesome Fluttercn
一份 Flutter 优秀中文资源列表,在这里能找到优质的Flutter库、工具,教程,文章等。
Stars: ✭ 208 (+1286.67%)
Mutual labels:  flutter-plugin
Flutter Nfc Reader
Flutter NFC reader plugin for iOS and Android
Stars: ✭ 240 (+1500%)
Mutual labels:  flutter-plugin
flutter cameraview
A Flutter plugin for Android and iOS allowing access to the device cameras, a bit deeper!!
Stars: ✭ 18 (+20%)
Mutual labels:  flutter-plugin
flutter sliding tutorial
User onboarding library with smooth animation of objects and background colors
Stars: ✭ 127 (+746.67%)
Mutual labels:  flutter-plugin
FlutterToastPlugin
A new Flutter plugin for showing toast in android and ios.
Stars: ✭ 21 (+40%)
Mutual labels:  flutter-plugin

[DISCONTINUED] - 24.05.2021

While this widget was useful in the early days of Flutter, the Flutter team introduced an own way to zoom and pan, see InteractiveViewer.

scalable_image

A widget that shows an image which can be scaled and dragged using gestures. This package was designed for quadratic images. It can happen that it don't behave as you expect for non quadratic images. A workaround is to wrap this image in an AspectRatio with an aspect ratio of the target image. This has the drawback that it does not fill the whole space while zooming since it will contain the aspect ratio. Feel free to fork on github.

Getting Started

You can also try using an other ImageProvider, like NetworkImage and FileImage.

new ScalableImage(
          imageProvider: new AssetImage('assets/example.png'),
          dragSpeed: 4.0,
          maxScale: 16.0
        )

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

demo!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].