AVSImageGallery constructor
AVSImageGallery(
- BuildContext context, {
- required List<
String> imagePaths, - int? initialIndex = 0,
- bool? showCloseButton = true,
- bool? lastSwipeClose,
- dynamic onSwipe(
- int index
- bool showBottomBar = true,
- Color? backgroundColor,
- LinearGradient? backgroundGradient,
Implementation
AVSImageGallery(
this.context, {
required this.imagePaths,
this.initialIndex = 0,
this.showCloseButton = true,
this.lastSwipeClose,
this.onSwipe,
this.showBottomBar = true,
this.backgroundColor,
this.backgroundGradient,
});