getHandleSize method Null safety

  1. @override
Size getHandleSize (
  1. double textLineHeight
)
override

Returns the size of the Cupertino handle.

Implementation

@override
Size getHandleSize(double textLineHeight) {
  return Size(
    _kSelectionHandleRadius * 2,
    textLineHeight + _kSelectionHandleRadius * 2 - _kSelectionHandleOverlap,
  );
}