搜尋分類、套件與程式碼儲存庫

galleryimage 封面
套件詳情v2.0.1

galleryimage

Flutter 插件,可從 URL 列出影像,允許在 iOS 和 Android 上顯示和縮放多張影像。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
6400
喜歡數
88
Pub 分數
120

安裝套件

flutter pub add galleryimage

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

GalleryImage 是一個 Flutter 插件,可從 URL 顯示圖像清單,支援在 iOS、Android、Web、macOS、Windows 和 Linux 上進行可縮放的多圖像檢視。它提供了一種無縫展示圖像畫廊的方式,具備流暢的導航與互動式縮放功能。此插件專為尋求開箱即用圖像瀏覽解決方案且設定簡單的開發者設計。它可透過提供的 pub 命令輕鬆整合至現有專案中。

適用情境

  • 在應用程式中顯示圖像畫廊
  • 建立可縮放的圖片檢視器
  • 建構媒體豐富的內容平台
  • 在電子商務應用中啟用圖像瀏覽
  • 支援多平台圖像顯示

主要特色

  • 從URL加載圖像
  • 可縮放的圖像查看
  • 多圖庫支援
  • 跨平台相容性
  • 透過 pub 的簡單整合
  • 跨裝置的響應式設計

適合對象

  • 行動應用開發者
  • Web 與桌面應用程式開發者
  • 電子商務和作品集應用
  • 內容密集型應用
  • 需要快速圖像畫廊實現的開發人員

使用建議

  • 需要互聯網存取以載入遠端影像
  • 性能可能因大圖像集而異
  • UI 的自定選項有限
  • 依賴外部圖像快取
  • 可能需要對錯誤狀態進行額外處理

原始 README

以下為關聯原始碼儲存庫的 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:

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

所屬分類

依賴

依賴清單 1 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。