buildNumber function
- int number
This function returns a widget that displays the number passed as an argument.
It is used to create the numbers in the reference key
Implementation
Widget buildNumber(int number) {
return FittedBox(
fit: BoxFit.scaleDown,
child: Text(
'$number',
style: const TextStyle(fontSize: 30),
),
);
}