OnTwoLevel typedef

OnTwoLevel = void Function(bool isOpen)

when viewport not full one page, for different state,whether it should follow the content

Implementation

typedef void OnTwoLevel(bool isOpen);