onChangeSize method

void onChangeSize()

Implementation

void onChangeSize() {
  final RenderBox? renderBox = context.findRenderObject() as RenderBox?;
  if (renderBox != null && renderBox.hasSize) {
    widget.onChangeSize(renderBox.size);
  }
}