setTextOptional method

Future<void> setTextOptional(
  1. bool textOptional
)

If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not. Default value: false.

Implementation

Future<void> setTextOptional(bool textOptional) =>
    _annotationMessenger.setTextOptional(id, textOptional);