Gallery class
A widget to present a horizontal grid of images.
Constructors
-
Gallery({Key? key, LoadingBuilder? loadingBuilder, String? title, Decoration? backgroundDecoration, dynamic minScale, dynamic maxScale, required int initialIndex, required List<
Image?> galleryItems, Axis scrollDirection = Axis.horizontal, )
Properties
- backgroundDecoration → Decoration?
-
final
-
galleryItems → List<
Image?> -
final
- initialIndex → int
-
final
- loadingBuilder → LoadingBuilder?
-
final
- maxScale → dynamic
-
final
- minScale → dynamic
-
final
- pageController → PageController
-
final
- scrollDirection → Axis
-
final
-
final
- title → String?
-
final
Methods
-
createState(
) → State< StatefulWidget> - Creates the mutable state for this widget at a given location in the tree.