元件 (Widget) 測試
為你的 Flutter 應用程式新增元件測試的食譜目錄。
尋找元件 (Widgets)
如何使用 Finder 類別來測試元件 (Widgets)。
處理滾動
如何在元件(Widget)測試中處理滾動。
元件(Widget)測試簡介
進一步了解 Flutter 中的元件(Widget)測試。
點擊、拖曳與輸入文字
如何測試元件(Widget)的使用者互動。
測試螢幕方向
如何測試應用程式目前是直向(portrait)還是橫向(landscape)模式。
Was this page's content helpful?
Unless stated otherwise, the documentation on this site reflects Flutter 3.44.0. Page last updated on 2026-06-14. View source or report an issue.