ui/chat/widget/flutter_html/flutter_html library

Classes

AnchorKey
ContainerSpan
A ContainerSpan is a widget with an InlineSpan child or children.
CustomRender
DetailsContentElement
EmptyContentElement
EmptyLayoutElement
FontSize
Html
HtmlParser
InteractableElement
An InteractableElement is a StyledElement that takes user gestures (e.g. tap).
LayoutElement
A LayoutElement is an element that breaks the normal Inline flow of an html document with a more complex layout. LayoutElements handle
LineHeight
ListStyleType
RenderContext
The RenderContext is available when parsing the tree. It contains information about the BuildContext of the Html widget, contains the configuration available in the HtmlParser, and contains information about the Style of the current tree root.
ReplacedElement
A ReplacedElement is a type of StyledElement that does not require its children to be rendered.
RubyElement
SelectableCustomRender
SelectableHtml
Style
This class represents all the available CSS attributes for this package.
StyledElement
A StyledElement applies a style to all of its children.
StyledText
TableCellElement
TableRowLayoutElement
TableSectionLayoutElement
TableStyleElement
TextContentElement
TextContentElement is a ContentElement with plaintext as its content.

Enums

Display
Gesture
A Gesture indicates the type of interaction by a user.
ListStylePosition
TextTransform
VerticalAlign
WhiteSpace

Functions

assetImageRender({double? width, double? height}) CustomRender
assetUriMatcher() CustomRenderMatcher
base64ImageRender() CustomRender
blockElementMatcher() CustomRenderMatcher
blockElementRender({Style? style, List<InlineSpan>? children}) CustomRender
dataUriMatcher({String? encoding = 'base64', String? mime}) CustomRenderMatcher
fallbackMatcher() CustomRenderMatcher
fallbackRender({Style? style, List<InlineSpan>? children}) CustomRender
interactableElementMatcher() CustomRenderMatcher
interactableElementRender({List<InlineSpan>? children}) CustomRender
layoutElementMatcher() CustomRenderMatcher
layoutElementRender({Widget? child}) CustomRender
listElementMatcher() CustomRenderMatcher
listElementRender({Style? style, Widget? child, List<InlineSpan>? children}) CustomRender
networkImageRender({Map<String, String>? headers, String mapUrl(String?)?, double? width, double? height, Widget altWidget(String?)?, Widget loadingWidget()?}) CustomRender
networkSourceMatcher({List<String> schemas = const ["https", "http"], List<String>? domains, String? extension}) CustomRenderMatcher
numberToFontSize(String num) FontSize
parseInteractableElement(Element element, List<StyledElement> children) StyledElement
parseLayoutElement(Element element, List<StyledElement> children) LayoutElement
parseReplacedElement(Element element, List<StyledElement> children) ReplacedElement
parseStyledElement(Element element, List<StyledElement> children) StyledElement
parseTableCellElement(Element element, List<StyledElement> children) TableCellElement
parseTableDefinitionElement(Element element, List<StyledElement> children) TableStyleElement
replacedElementMatcher() CustomRenderMatcher
replacedElementRender({PlaceholderAlignment? alignment, TextBaseline? baseline, Widget? child}) CustomRender
tagMatcher(String tag) CustomRenderMatcher
textContentElementMatcher() CustomRenderMatcher
textContentElementRender({String? text}) CustomRender
verticalAlignMatcher() CustomRenderMatcher
verticalAlignRender({double? verticalOffset, Style? style, List<InlineSpan>? children}) CustomRender

Typedefs

CustomRenderMatcher = bool Function(RenderContext context)
ListCharacter = String Function(int i)
OnCssParseError = String? Function(String css, List<Message> errors)
OnTap = void Function(String? url, RenderContext context, Map<String, String> attributes, Element? element)