fontParams method
Implementation
Map<String, Object?> fontParams(TextStyle h3) {
return {
'size': h3.fontSize,
'family': h3.fontFamily,
'weight': h3.fontWeight?.value,
'style': h3.fontStyle == FontStyle.italic ? ImpulsePlayerPluginConstants.ValueItalic : ImpulsePlayerPluginConstants.ValueNormal,
};
}