ImageViewerRoute class

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

open(BuildContext context, {required List<ImageProvider<Object>> images, required int initialIndex, List<Object?>? heroTags, List<ImageProvider<Object>?>? previewProviders, Color backgroundColor = Colors.black, bool showCloseButton = true, bool showPageIndicator = true, bool enableEnterHero = true, bool enableExitHero = true, ImageViewerTransitionSpeed transitionSpeed = ImageViewerTransitionSpeed.normal, ValueChanged<int>? onPageChanged, IndexedWidgetBuilder? overlayBuilder, bool preloadAdjacentImages = false, String pageIndicatorSemanticLabelBuilder(int index, int total)?}) → Future<void>
Opens an image preview route.