onLayout method

  1. @override
void onLayout(
  1. double left,
  2. double top,
  3. double right,
  4. double bottom,
)
override

Implementation

@override
void onLayout(double left, double top, double right, double bottom) {
  super.onLayout(left, top, right, bottom);
  _gesture.rect = globalAreaBound;
}