top property

int top

Implementation

int get top => math.min(y, y + height);