contains method

  1. @override
bool contains(
  1. Offset position
)
override

Implementation

@override
bool contains(Offset position) {
  return segmentRect != null && segmentRect!.contains(position);
}