Example: add background color to button flutte bool isButtonPressed = false; RaisedButton( color: isButtonPressed ? Colors.green : Colors.red, ...
確定! 回上一頁