EdgeTextStyleGetter typedef

EdgeTextStyleGetter = TextStyle Function(Edge vertex, EdgeShape? shape)

@en: The getter of the edge text style.

@zh: 边文字样式获取器

Implementation

typedef EdgeTextStyleGetter = TextStyle Function(
  Edge vertex,
  EdgeShape? shape,
);