setStyle static method

Future<void> setStyle({
  1. Color? tintColor,
})

Update the selected-tab tint color.

Implementation

static Future<void> setStyle({Color? tintColor}) async {
  if (!_enabled) return;
  await _channel.invokeMethod('setStyle', {
    if (tintColor != null) 'tint': tintColor.toARGB32(),
  });
}