onPressed 欄位,指定自定義一個函數名稱為「btnCenterClickEvent」,當按鈕被按下時,則會去執行此函數邏輯區塊邏輯功能。 RaisedButton( child: Text('按鈕'), ...
確定! 回上一頁