setStyle static method
Update style (tint colors)
Implementation
static Future<void> setStyle({
Color? tintColor,
Color? unselectedTintColor,
}) async {
if (!_isEnabled) return;
await _channel.invokeMethod('setStyle', {
if (tintColor != null) 'tint': tintColor.toARGB32(),
if (unselectedTintColor != null)
'unselectedTint': unselectedTintColor.toARGB32(),
});
}