flutter_image_grids library
Flutter Image Grids — stylish multi-image grid with smart layouts.
Import this library to access:
- FlutterImageGrids — the main grid widget.
- ImageSource — wraps network, asset, file, or memory images.
- ImageViewer — built-in full-screen swipeable image viewer.
Quick start
import 'package:flutter_image_grids/flutter_image_grids.dart';
FlutterImageGrids(
images: [
ImageSource.network('https://picsum.photos/800/600'),
ImageSource.asset('assets/photo.jpg'),
],
)
Classes
- FlutterImageGrids
- A beautiful multi-image grid widget with smart per-count layouts.
- ImageSource
- Wraps the origin of a single image so FlutterImageGrids can render network, asset, file, and in-memory images uniformly.
- ImageViewer
- Full-screen, swipeable image viewer.
Enums
- ImageSourceType
- Describes the origin of an image used in FlutterImageGrids.