Skip to content
/ imgy Public

Image viewer widget with support to download, sharing and more.

License

Notifications You must be signed in to change notification settings

carllosnc/imgy

Repository files navigation

IMGY

Static Badge Imgy Codacy Badge

Example

Features

  • Preview and full screen
  • Fade in effect
  • Description
  • Border
  • Padding
  • Save to gallery
  • Sharing
  • Placeholder color

Install

pubspec.yml

dependencies:
  imgy:
    git:
      url: https://github.com/carllosnc/imgy.git

Usage

import 'package:imgy/imgy.dart';

var previewImage = "prevew image address"
var fullImage = "full image address"

Imgy(
  src: previewImage,
  fullSrc: fullImage,
  enableFullScreen: true,
  description: "Image description",
  placeholderColor: Colors.red
)

Properties

Name Type Default Description
src String null preview image source
fullSrc String null full screen image source
enableFullScreen bool false enable full screen view
description String null image description
placeholderColor Color Colors.transparent placeholder color when image is loading
padding double 0 container padding
rounded double 0 border radius
width double 100 image width
height double 100 image height
borderWidth double 0 container border width
borderColor double 0 container border color
canSave bool true support to save image to gallery
canShare bool true support to share image
tapOnImageToClose bool true close fullscreen view image when tap over

Showcase

Datacine is movie catalog app made with Flutter that uses Imgy package to show, save and share movies posters. Download the app from Google Play.


Carlos Costa 🖼 2023

About

Image viewer widget with support to download, sharing and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published