BlockNoteInlineContent constructor
const
BlockNoteInlineContent({})
Creates a new inline content instance.
Implementation
const factory BlockNoteInlineContent({
/// The type of inline content.
required BlockNoteInlineContentType type,
/// The text content.
required String text,
/// Optional text styles (bold, italic, underline, textColor, backgroundColor, etc.).
/// Can contain boolean values (bold, italic, underline, strike) and string values (textColor, backgroundColor).
Map<String, dynamic>? styles,
/// Optional href for link content.
String? href,
/// Optional mention ID for mention content.
String? mentionId,
}) = _BlockNoteInlineContent;