isInline property

bool get isInline

Returns true if this style is not empty and contains only inline-scoped attributes and is not empty.

Implementation

bool get isInline => isNotEmpty && values.every((item) => item.isInline);