FLUTTER ECOSYSTEM

BeshoyMelika/flutter-gallery-package

一个 Flutter 插件,可在 iOS 和 Android 上显示多张图片。

flutter-gallery-package 项目封面
Stars
18
Forks
52
最近推送(UTC)
2024年6月24日
项目状态
未归档
BeshoyMelika GitHub avatar
GITHUB User

BeshoyMelika ↗

Mobile Developer

Egypt
语言DartHTMLRubySwiftKotlinObjective-C

技术话题

此仓库发布的插件

使用的依赖

依赖清单 4 项

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 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 https://img.shields.io/badge/pub-v2.0.1-blue

InstallationRelatedLicense

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:

import 'package:galleryimage/galleryimage.dart';
Usage
Listing URLs Images
List<String> 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
@override
Widget build(BuildContext context) {
  return Container(
    child: GalleryImage(
      key: _key,
      imageUrls: listOfUrls,
      numOfShowImages: 4,
      titleGallery: _title,          
    )
  );
}

Emailware

Gallery Image is an emailware. Meaning, if you liked using this plugin or has helped you in anyway, I'd like you send me an email on <BeshoyMelika@gmail.com> about anything you'd want to say about this software. I'd really appreciate it!

Related

cached_network_image - To Load and cache network images..

You can build a gallery Images easily with this package.

See the example for more details.

License

MIT