SpecialPickerType enum

Author Alex (https://github.com/Alex525) Date 2020/7/8 12:32

Provide some special picker types to integrate un-common pick pattern. 提供一些特殊的选择器类型以整合非常规的选择行为。

Inheritance

Constructors

SpecialPickerType()
const

Values

wechatMoment → const SpecialPickerType

WeChat Moments mode. 微信朋友圈模式

The user can only select one video or multiple images at the same time, and those two asset types cannot be selected at the same time. 用户只可以选择 一个视频多个图片,并且两种类型互斥。

noPreview → const SpecialPickerType

Disable preview of assets. 禁用资源预览

There is no preview mode when clicking grid items. In multiple select mode, any click (either on the select indicator or on the asset itself) will select the asset. In single select mode, any click directly selects the asset and returns. 用户在点击网格的 item 时无法进入预览。 在多选模式下无论点击选择指示还是 item 都将触发选择, 而在单选模式下将直接返回点击的资源。

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<SpecialPickerType>
A constant List of the values in this enum, in order of their declaration.