k_gallery library

Classes

BaseCacheManager
Interface of the CacheManager. In general CacheManager can be used directly.
CacheManager
Flutter Cache Manager Copyright (c) 2019 Rene Floor Released under MIT License. Basic cache manager implementation, which should be used as a single instance.
Config
ConnectivityService
Single entry point for internet-connectivity checks used across kGallery.
DefaultCacheManager
The DefaultCacheManager that can be easily used directly. The code of this implementation can be used as inspiration for more complex cache managers.
GalleryItem
Represents a single media item in the gallery.
GalleryOfflineView
Default, purely-presentational placeholder: an icon, a title, and a subtitle. No retry button — the item reloads on its own when the user slides back to it.
GalleryTheme
Defines the visual appearance of the KGallery widget.
KGallery
A full-screen, Telegram-style media gallery viewer.

Enums

GalleryItemType
The type of media content for a gallery item.

Typedefs

GalleryOfflineBuilder = Widget Function(BuildContext context, GalleryItem item)
Signature for a host-supplied placeholder shown when a remote gallery item cannot be loaded (offline or load failure).