isNoOp property

bool isNoOp

Returns true if either style or width is invalid.

Border will use the default text color so color is not required.

Implementation

bool get isNoOp => style == null || width?.isPositive != true;