How to put this method
void fontControl() {
setState(() {
TextStyle(fontSize: 10 + count.toDouble());
if (count == 100) {
const TextStyle(fontSize: 100);
}
});
}
to the text widget
Text(count.toString(), style: fontControl())