format method
void
format(
- EasyAttributeStyles? style, [
- bool overrideStylesIfEmpty = false,
- bool ignoreMerge = false
Implementation
void format(
EasyAttributeStyles? style, [
bool overrideStylesIfEmpty = false,
bool ignoreMerge = false,
]) {
if (style != null) {
overrideStylesIfEmpty && style.isEmpty
? styles.clearAll()
: applyStyle(style);
}
if (!ignoreMerge) tryMerge();
}