strikethrough top-level property
Codec to convert underlineAttribute to/from JSON (see DocumentJsonCodec).
Implementation
final strikethrough = TextAttributeCodec.stateless(
typeStr: 'strike',
create: () => strikethroughAttribute,
);
Codec to convert underlineAttribute to/from JSON (see DocumentJsonCodec).
final strikethrough = TextAttributeCodec.stateless(
typeStr: 'strike',
create: () => strikethroughAttribute,
);