html5 library

Classes

AnchorKey
AutoOrLengthOrPercent
Content
CSS3
This class represents all the available CSS attributes for this package.
CSSBoxParentData
CssBoxWidget
CustomRender
DetailsContentElement
Dimension
EmptyContentElement
EmptyLayoutElement
FontSize
HTML5
LayoutElement
A LayoutElement is an element that breaks the normal Inline flow of an html document with a more complex layout. LayoutElements handle
Length
This dimension takes a value with a length unit such as px or em. Note that these can be fixed or relative (but they must not be a percent)
LengthOrPercent
This dimension takes a value with a length-percent unit such as px or em or %. Note that these can be fixed or relative (but they must not be a percent)
LineHeight
ListStyleImage
Margin
Margins
Marker
ReactElement
An ReactElement is a StyledElement that takes user gestures (e.g. tap).
ReplacedElement
A ReplacedElement is a type of StyledElement that does not require its children to be rendered.
RubyElement
SelectableCustomRender
SelectableHtml
StyledElement
A StyledElement applies a style to all of its children.
TableCellElement
TableRowLayoutElement
TableSectionLayoutElement
TableStyleElement
TextContentElement
TextContentElement is a ContentElement with plaintext as its content.

Functions

assetImageRender({double? width, double? height}) CustomRender
assetUriMatcher() CustomRenderMatcher
base64ImageRender() CustomRender
blockElementMatcher() CustomRenderMatcher
blockElementRender({CSS3? style, List<InlineSpan>? children}) CustomRender
dataUriMatcher({String? encoding = 'base64', String? mime}) CustomRenderMatcher
fallbackMatcher() CustomRenderMatcher
fallbackRender({CSS3? style, List<InlineSpan>? children}) CustomRender
generateDefaultRenders() Map<CustomRenderMatcher, CustomRender>
layoutElementMatcher() CustomRenderMatcher
layoutElementRender({Widget? child}) CustomRender
listElementMatcher() CustomRenderMatcher
listElementRender({CSS3? 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
parseLayoutElement(Element element, List<StyledElement> children) LayoutElement
parseReactElement(Element element, List<StyledElement> children) StyledElement
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
reactElementMatcher() CustomRenderMatcher
reactElementRender({List<InlineSpan>? children}) CustomRender
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, CSS3? style, List<InlineSpan>? children}) CustomRender

Typedefs

CustomRenderMatcher = bool Function(RenderContext context)
ListCharacter = String Function(int i)