labelBuilder property

LabelBuilder? labelBuilder
final

Optional builder for customizing individual label widgets.

When provided, this builder is called for each label and receives:

  • connection - The connection containing the label
  • label - The label to render
  • position - The calculated rect position for the label

The returned widget replaces the default label rendering.

Implementation

final LabelBuilder? labelBuilder;