NO | Android控件 | Flutter控件 | 應用場景 | 備註 |
---|---|---|---|---|
01 | TextView | Text | 展示Text,顯示文字 | |
02 | EditText | TextField | 輸入文字,輸入框 | |
03 | Button | MaterialButton | 輸入文字,輸入框 | |
04 | ImageButton | IconButton | 圖片按鈕 | |
05 | SnackBar | SnackBar | 底部彈出Toast | |
06 | Toast | Fluttertoast | 彈出Toast | |
07 | FloatingActionButton | FloatingActionButton | 浮動按鈕 | |
08 | CardView | Card | 卡片佈局 | |
09 | Checkbox | Checkbox、CheckboxListTile | 複選框 | |
10 | DrawerLayout | Drawer | 側滑菜單 | |
11 | Switch | Switch | 切換按鈕組件 | |
12 | ImageView | Image | 圖片控件 | |
13 | ProgressBar | LinearProgressIndicator、CircularProgressIndicator | 進度條 | |
14 | RichText | RichText | 富文本 |
03、