segment property

PieData? segment
final

The pie segment that was interacted with, if applicable.

Non-null for pie/donut/pyramid/funnel charts when isHit is true. Null for point-based charts or when no hit occurred.

Implementation

final PieData? segment;