isForeground property

bool get isForeground

Whether the border is drawn in the foreground. This is a getter for convenience.

Implementation

bool get isForeground => !isBackground;