boundsForHitTest property
Rect
get
boundsForHitTest
override
Relative bounds where the element is hit-testable.
Might be different than bounds.
Implementation
@override
Rect get boundsForHitTest => super.boundsForHitTest.copyWith(
x: super.boundsForHitTest.x - 2,
width: super.boundsForHitTest.width + 4,
);