TextValue.uniform constructor
TextValue.uniform(})
Implementation
factory TextValue.uniform(
String? value, {
bool isBold = false,
bool isItalic = false,
bool isUnderline = false,
bool isStrikeThrough = false,
}) {
return TextValue(
lines: [
if (value != null)
TextValueLine(
values: [
TextItem(
value,
isBold: isBold,
isItalic: isItalic,
isUnderline: isUnderline,
isStrikeThrough: isStrikeThrough,
),
],
),
],
);
}