This is because the ButtonStyle requires a ButtonState<Color>, and not just a Color. To fix that, we can wrap our Color() in ButtonState.all().
確定! 回上一頁