setAppearance method
Future<void>
setAppearance(
- TextStyle h3,
- TextStyle h4,
- TextStyle s1,
- TextStyle l4,
- TextStyle l7,
- TextStyle p1,
- TextStyle p2,
- Color accentColor,
override
Implementation
@override
Future<void> setAppearance(TextStyle h3, TextStyle h4, TextStyle s1, TextStyle l4, TextStyle l7, TextStyle p1, TextStyle p2, Color accentColor) async {
await methodChannel.invokeMethod<void>(ImpulsePlayerPluginConstants.MethodSetAppearance, {
'h3': fontParams(h3),
'h4': fontParams(h4),
's1': fontParams(s1),
'l4': fontParams(l4),
'l7': fontParams(l7),
'p1': fontParams(p1),
'p2': fontParams(p2),
'accent_color': accentColor.value,
});
}