enterPos method Null safety

  1. @override
Rect enterPos(
  1. Rect pos,
  2. {required double th,
  3. required double tw,
  4. required double bh,
  5. required double bw}
)
override

Implementation

@override
Rect enterPos(Rect pos,
        {required double th,
        required double tw,
        required double bh,
        required double bw}) =>
    Rect.fromLTWH(
        pos.left + 5 * tw, pos.top + 2 * th + shiftDownTweak, bw, bh + th);