buildSymbol function

Widget buildSymbol(
  1. 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),
    ),
  );
}