tagInfo function
- String small,
- String big,
- 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,
),
),
],
);
}