จะให้ฉันโทรหาวิธีการตอนที่ปุ่มคือมีการคลิก 10 ครั้ง นี่คือรหัสสำหรับปุ่ม
NextQuestionButton(
onClick: () {
if (answerWasSelected) {
_nextQuestion();
} else {
return;
}
},
)