XImagePickUtil class
图片选择工具
Constructors
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
-
multiple(
BuildContext context, {int choose = 0, int maxLength = 9, RequestType requestType = RequestType.image}) → Future< List< AssetEntity> ?> - 选择图片/视频,最多 9 个
-
single(
BuildContext context) → Future< AssetEntity?> - 选择单个图片
-
takePhoto(
BuildContext context) → Future< AssetEntity?> - 拍照 only
-
takePhotoOrVideo(
BuildContext context) → Future< AssetEntity?> - 拍照 or 拍视频