AVSImageGallery class
Constructors
-
AVSImageGallery(BuildContext context, {required List<
String> imagePaths, int? initialIndex = 0, bool? showCloseButton = true, bool? lastSwipeClose, dynamic onSwipe(int index)?, bool showBottomBar = true, Color? backgroundColor, bool closeWithOnTap = false, LinearGradient? backgroundGradient, ButtonPosition closeButtonPosition = ButtonPosition.topRight, Widget? customCloseButton, ImageGalleryStyle? imageGalleryStyle, ButtonPosition secondaryButtonPosition = ButtonPosition.topLeft, Widget? secondaryButton})
Properties
- backgroundColor → Color?
-
final
- backgroundGradient → LinearGradient?
-
final
- closeButtonPosition → ButtonPosition
-
final
- closeWithOnTap → bool
-
final
- context → BuildContext
-
final
- customCloseButton → Widget?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageGalleryStyle → ImageGalleryStyle?
-
final
-
imagePaths
→ List<
String> -
final
- initialIndex → int?
-
final
- lastSwipeClose → bool?
-
final
- onSwipe → dynamic Function(int index)?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryButton → Widget?
-
final
- secondaryButtonPosition → ButtonPosition
-
Secondary Button
final
- showBottomBar → bool
-
final
- showCloseButton → bool?
-
final
Methods
-
activeCustomWidgetSlideWidget(
{required double opacity}) → Widget -
activeDefaultSlideWidget(
{required double opacity}) → Widget -
activeSlideWidget(
{required double opacity}) → Widget -
inActiveCustomWidgetSlideWidget(
{required double opacity}) → Widget -
inActiveDefaultSlideWidget(
{required double opacity}) → Widget -
inActiveSlideWidget(
{required double opacity}) → Widget -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
show(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited