File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ platform :ios, '9.0'
183
183
| specialItemPosition | ` SpecialItemPosition ` | 允许用户在选择器中添加一个自定义item,并指定位置。 | ` SpecialPosition.none ` |
184
184
| loadingIndicatorBuilder | ` IndicatorBuilder? ` | 加载器的实现 | ` null ` |
185
185
| allowSpecialItemWhenEmpty | ` bool ` | 在资源为空时是否允许显示自定义item | ` false ` |
186
+ | selectPredicate | ` AssetSelectPredicate ` | 判断资源可否被选择 | ` null ` |
186
187
| routeCurve | ` Curve ` | 选择构造路由动画的曲线 | ` Curves.easeIn ` |
187
188
| routeDuration | ` Duration ` | 选择构造路由动画的时间 | ` const Duration(milliseconds: 500) ` |
188
189
Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ platform :osx, '10.15'
176
176
| specialItemPosition | ` SpecialItemPosition ` | Allow users set a special item in the picker with several positions. | ` SpecialItemPosition.none ` |
177
177
| loadingIndicatorBuilder | ` IndicatorBuilder? ` | Indicates the loading status for the builder. | ` null ` |
178
178
| allowSpecialItemWhenEmpty | ` bool ` | Whether the special item will display or not when assets is empty. | ` false ` |
179
+ | selectPredicate | ` AssetSelectPredicate ` | Predicate whether an asset can be selected or unselected. | ` null ` |
179
180
| routeCurve | ` Curve ` | The curve which the picker use to build page route transition. | ` Curves.easeIn ` |
180
181
| routeDuration | ` Duration ` | The duration which the picker use to build page route transition. | ` const Duration(milliseconds: 500) ` |
181
182
You can’t perform that action at this time.
0 commit comments