VertexTextStyleGetter typedef

VertexTextStyleGetter = TextStyle? Function(Vertex vertex, VertexShape? shape)

@en: The getter of the vertex text style.

@zh: 顶点文字样式获取器

Implementation

typedef VertexTextStyleGetter = TextStyle? Function(
  Vertex vertex,
  VertexShape? shape,
);