needResizeNotify method

bool needResizeNotify(
  1. Size newContentSize,
  2. Size newBorderSize
)

Implementation

bool needResizeNotify(Size newContentSize, Size newBorderSize) {
  return _listeners != null &&
      _listeners!.isNotEmpty &&
      !(newContentSize == preContentSize && newBorderSize == preBorderSize);
}