PhotoPicker class

Constructors

PhotoPicker()
factory

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Static Methods

pickAsset({BuildContext context, int rowCount: 4, int maxSelected: 9, double padding: 0.5, double itemRadio: 1.0, Color themeColor, Color dividerColor, Color textColor, Color disableColor, int thumbSize: 64, I18nProvider provider: I18nProvider.chinese, SortDelegate sortDelegate, CheckBoxBuilderDelegate checkBoxBuilderDelegate, LoadingDelegate loadingDelegate, PickType pickType: PickType.all, BadgeDelegate badgeDelegate: const DefaultBadgeDelegate(), List<AssetPathEntity> photoPathList }) → Future<List<AssetEntity>>
没有授予权限的时候,会开启一个dialog去帮助用户去应用设置页面开启权限 确定开启设置页面,取消关闭弹窗,无论选择什么,返回值都是null [...]

Constants

rootRouteName → const String
"photo_picker_image"