ArcoImagePreviewConfig class

图片预览配置(官方 Image.Preview 的部分常用项,透传给预览层)。

Constructors

ArcoImagePreviewConfig({bool maskClosable = true, bool closable = true, bool infinite = true, bool escToExit = true, List<double> scales = ArcoImageTokens.previewScales})
创建预览配置。
const

Properties

closable → bool
是否显示关闭按钮(官方 closable)。
final
escToExit → bool
按 ESC 是否关闭(官方 escToExit)。
final
hashCode → int
The hash code for this object.
no setterinherited
infinite → bool
预览组是否无限循环(官方 infinite)。
final
maskClosable → bool
点击遮罩是否关闭(官方 maskClosable)。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scales → List<double>
缩放序列(官方 scales,可覆盖默认)。
final

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