tagInfo function

Widget tagInfo(
  1. String small,
  2. String big,
  3. BuildContext context
)

Implementation

Widget tagInfo(String small, String big, BuildContext context) {
  return Column(
    crossAxisAlignment: CrossAxisAlignment.center,
    children: [
      // Small subtext
      Text(
        small,
        overflow: TextOverflow.visible,
        style: TextStyle(
          color: Theme.of(context).colorScheme.primary,
          fontSize: 15,
        ),
      ),
      // Big title
      Text(
        big,
        overflow: TextOverflow.visible,
        style: TextStyle(
          color: Theme.of(context).colorScheme.primary,
          fontWeight: FontWeight.bold, ////
          fontSize: 17,
        ),
      ),
    ],
  );
}