OnSizeChanged typedef Null safety

OnSizeChanged = void Function(Size size)

Implementation

typedef void OnSizeChanged(Size size);