onChange property

OnWidgetSizeChange onChange
final

onChange will be called when the Size changes. onChange will return the value ONLY once if it didn't change, and it will NOT return a value if it's equals to Size.zero

Implementation

final OnWidgetSizeChange onChange;