搜索分类、插件与代码仓

carousel_grid 封面
插件详情v1.0.5

carousel_grid

Carousel Grid 是一个用于在网格中显示图像缩略图并支持缓存和缩放的包。

iOSWeb
近 30 天下载
188
喜欢数
27
Pub 分数
130

安装插件

flutter pub add carousel_grid

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Carousel Grid 是一个 Flutter 包,旨在以网格布局显示图像缩略图,并内置缓存和缩放功能。它通过实现流畅的图像导航来提升用户体验,非常适合用于画廊或产品展示。该包支持 iOS 和 Web 平台,确保广泛的兼容性。通过缓存实现高效的内存管理,即使在处理大量图像时也能保持性能。其直观的界面使其适用于需要交互式图像浏览的应用程序。

适合场景

  • 图像画廊
  • 产品展示界面
  • 照片浏览应用
  • 互动媒体展示
  • 电子商务缩略图网格

主要特点

  • 图像缩略图网格布局
  • 内置图像缓存
  • Zoom 交互支持
  • 跨平台(iOS,Web)
  • 高效的内存管理

适合对象

  • 开发图像密集型应用的开发者
  • 需要交互式图像导航的应用程序
  • 需要响应式网格布局的项目
  • 带有媒体内容的移动和网络应用

使用建议

  • 仅限图像缩略图
  • 不支持视频
  • 需要仔细处理大型图像集
  • 未针对高分辨率图像进行优化,需要额外配置

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Carousel Grid

Carousel Grid is a Flutter package to display thumbnail grid images with cache and zoom.

Build

Features

  • Images from Url
  • Cached Images
  • Infinite Carousel
  • Photos sorted
  • zoomable image

Installation

Add carousel_grid as a dependency in your pubspec.yaml file .

Import Photo View:

import 'package:carousel_grid/carousel_grid.dart';
Usage
URLs Images
List<String> imagesUrls = [
    "https://scaffoldtecnologia.com.br/wp-content/uploads/2021/10/home4.jpg",
    "https://scaffoldtecnologia.com.br/wp-content/uploads/2021/10/app-2.png",
    "https://scaffoldtecnologia.com.br/wp-content/uploads/2021/10/app.jpg",
    "https://scaffoldtecnologia.com.br/wp-content/uploads/2021/10/home-1.jpg",
    "https://scaffoldtecnologia.com.br/wp-content/uploads/2021/10/page-1.png",
  ];
Carousel Grid
CarouselGrid(
    height: 285,
    width: 400,
    listUrlImages: imagesUrls,
    iconBack: const Icon(
      Icons.arrow_back,
      color: Colors.white,
    ),
  ),

License

Copyright (c) 2021 Gabriel Patrick Souza

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

所属分类

依赖

依赖清单 4 项

源码仓库

使用此插件的项目

暂无相关数据。