跳到内容
CrossFly 是 100% 开源在 GitHub 关注我们
CrossFlyCrossFly
开始使用

本页面由葡萄牙语机器翻译,可能存在错误。葡萄牙语版本为准。

Widget 目录

所有 widget 的快速参考。每个 widget 在 ui/widgets/ 中都有自己的页面 (说明 + 示例),并有一个归属章节(API 的真相)。

基础 — 第 14 章

Widget 页面 用途
Label label 文本
Button button 操作
TextField / TextArea textfield · textarea 单行 / 多行输入
Switch / Option switch · option 开关 / 复选-单选
Slider / Progress slider · progress 连续值 / 进度
Dropdown / Group dropdown · group 选择 / 分组
ImageView / Keypad imageview · keypad 图像 / 数字键盘

容器与列表 — 第 15 章

Widget 页面
ListView / VirtualListView listview · virtuallistview
ListViewWindow / TabBar listviewwindow · tabbar
PagedDataAdapter / list items paged-data-adapter · list-items

对话框与浮层 — 第 16 章

Widget 页面
Alert / ActionSheet / Hint alert · actionsheet · hint

选择器 — 第 17 章

Widget 页面
Picker(基类) picker
DatePicker / TimePicker datepicker · timepicker
FilePicker / PhotoPicker filepicker · photopicker
ColorPicker / BarcodePicker / LocationPicker colorpicker · barcodepicker · locationpicker

图像与图表 — 第 18 章 · 第 19 章

Widget 页面
ImageView / Whiteboard imageview · whiteboard
ChartView + 子类(LineChart/AreaChart/BarChart/StackedBarChart/StackedAreaChart/PieChart/DonutChart/ComboChart) chartview
WebContainer / LocationView webcontainer · locationview

⚠️ 已移除的 widget(2026 API)

在找某个旧名称?它已不复存在——请使用替代者:

已移除 使用
Toast / ToolTip Hint
Grid GridLayout + 组件
Tree (已移除;无直接替代)
Accordion / TopMenu / Spacer / Velocimeter (已移除)

另请参阅

这个页面有帮助吗?