onNotify method

  1. @override
void onNotify([
  1. Size? size
])
override

Implementation

@override
void onNotify([Size? size]) {
  super.onNotifyWithCallback(() {
    width = size?.width ?? width;
    height = size?.height ?? height;
  });
}