buildContent method
Builds the widget for this section content.
Implementation
@override
Widget buildContent(BuildContext context) {
TextStyle? style;
TextTheme textTheme = Theme.of(context).textTheme;
if (textTheme.bodyMedium != null) {
style = textTheme.bodyMedium!
.apply(fontSizeFactor: 2)
.merge(TextStyle(fontWeight: FontWeight.bold));
}
return Text(text, style: style);
}