isEmpty property Null safety

bool isEmpty

Implementation

bool get isEmpty => width <= 0 || height <= 0;