You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| selectedAssets |`List<AssetEntity>?`| Selected assets. Prevent duplicate selection. If you don't need to prevent duplicate selection, just don't pass it. |`null`|
@@ -184,13 +202,10 @@ platform :osx, '10.15'
184
202
| allowSpecialItemWhenEmpty |`bool`| Whether the special item will display or not when assets is empty. |`false`|
185
203
| selectPredicate |`AssetSelectPredicate`| Predicate whether an asset can be selected or unselected. |`null`|
186
204
| shouldRevertGrid |`bool?`| Whether the assets grid should revert. |`null`|
187
-
| pageRouteBuilder |`AssetPickerPageRouteBuilder`| Build `AssetPickerPageRoute` with the given generic type. |`null`|
188
205
189
-
### Simple usage
206
+
### Detailed usage
190
207
191
-
```dart
192
-
final List<AssetEntity> assets = await AssetPicker.pickAssets(context);
193
-
```
208
+
TL;DR, we've put multiple common usage with the packages into the [example](example).
194
209
195
210
### Using custom delegate
196
211
@@ -200,10 +215,6 @@ See the `Keep scroll offset` pick method in the example for how to implement it.
200
215
For more details about custom delegates,
201
216
head over to [`example/lib/customs`](example/lib/customs).
202
217
203
-
### Detailed usage
204
-
205
-
TL;DR, we've put multiple common usage with the packages into the [example](example).
206
-
207
218
#### Regular picking
208
219
209
220
You can both found `List<PickMethod> pickMethods` in
0 commit comments