Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/BeshoyMelika/flutter-gallery-package

Flutter plugin that allows you to display multi-image on iOS and Android.
https://github.com/BeshoyMelika/flutter-gallery-package

dart flutter flutter-package flutter-plugin

Last synced: 3 months ago
JSON representation

Flutter plugin that allows you to display multi-image on iOS and Android.

Awesome Lists containing this project

README

        

# Gallery Image plugin for Flutter

A Flutter plugin that list of images from URLs


Gallery Image



Flutter plugin that allows you to display multi image on iOS, Android, MacOs,Web.



Build




Installation
Related
License


Gallery Image

## Key Features
* Pick images from Url
* Photos sorted
* close the gallery when Swipe Up or Down
* Add List of image in Gallery Screen
* Change Loading Widget
* zoomable image

## Installation

Add `galleryimage` as a dependency in your pubspec.yaml file .

Import Photo View:
```dart
import 'package:galleryimage/galleryimage.dart';
```

### Usage

#### Listing URLs Images
``` dart
List listOfUrls= [
"https://cosmosmagazine.com/wp-content/uploads/2020/02/191010_nature.jpg",
"https://scx2.b-cdn.net/gfx/news/hires/2019/2-nature.jpg",
"https://isha.sadhguru.org/blog/wp-content/uploads/2016/05/natures-temples.jpg",
"https://upload.wikimedia.org/wikipedia/commons/7/77/Big_Nature_%28155420955%29.jpeg",
"https://s23574.pcdn.co/wp-content/uploads/Singular-1140x703.jpg",
"https://www.expatica.com/app/uploads/sites/9/2017/06/Lake-Oeschinen-1200x675.jpg",
];
```

#### To Displaying Images

```dart
@override
Widget build(BuildContext context) {
return Container(
child: GalleryImage(
key: _key,
imageUrls: listOfUrls,
numOfShowImages: 4,
titleGallery: _title,
)
);
}
```

## Emailware

Gallery Image is an [emailware](https://en.wiktionary.org/wiki/emailware). Meaning, if you liked using this plugin or has helped you in anyway, I'd like you send me an email on about anything you'd want to say about this software. I'd really appreciate it!

## Related

[cached_network_image](https://pub.dartlang.org/packages/cached_network_image) - To Load and cache network images..

You can build a gallery Images easily with this package.

See the [example](example) for more details.

## License

MIT