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