setTooltip method

  1. @protected
Future<void> setTooltip(
  1. Id id,
  2. String tooltip
)

Sets the icon's tooltip.

This is the oppose of removeTooltip.

Implementation

@protected
Future<void> setTooltip(Id id, String tooltip) async {
  await _channel.invokeMethod('setTooltip', {'id': id, 'tooltip': tooltip});
}