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