isEmpty property

bool get isEmpty

Whether the viewport is empty.

Implementation

bool get isEmpty => length == 0;