renderStyle method
Render style based on the block's type and inline styles
Implementation
TextStyle renderStyle(BuildContext context) {
var textStyle = Theme.of(context).textTheme.bodyText1!;
return textStyle.copyWith(
fontWeight: fontWeight,
fontStyle: fontStyle,
decoration: decoration,
);
}