主题
Finder
Finder is used to search for controls by different criteria.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
id | int | required | Internal finder ID - corresponds to a Finder instance on Dart side. |
count | int | required | The number of controls found by this finder. |
index | int | 0 | The index of the control to interact with when multiple controls are found. |
只读属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
first | 'Finder' | — | Returns a Finder that finds the first control found by this finder. |
last | 'Finder' | — | Returns a Finder that finds the last control found by this finder. |
方法
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
at | 'Finder' | — | Returns a Finder that finds the control at the given index. Args: index: The index of the control to find. |