搜索分类、插件与代码仓

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 项

源码仓库

使用此插件的项目

暂无相关数据。