setTextPadding method

Future<void> setTextPadding(
  1. double textPadding
)

Size of the additional area around the text bounding box used for detecting symbol collisions. Default value: 2. Minimum value: 0. The unit of textPadding is in pixels.

Implementation

Future<void> setTextPadding(double textPadding) =>
    _annotationMessenger.setTextPadding(id, textPadding);