flutter_widget_from_html_core library Null safety

Classes

BuildBit<InputType, OutputType>
A piece of HTML being built. [...]
BuildMetadata
A building element metadata.
BuildOp
A building operation to customize how a DOM element is rendered.
BuildTree
A tree of BuildBits.
CssBlock
A CSS block.
CssBorder
A border of a box.
CssBorderSide
A side of a border of a box.
CssLength
A length measurement.
CssLengthBox
A set of length measurements.
CssSizing
A CSS sizing widget.
CssSizingValue
A CssSizing value.
HtmlListItem
A list item widget.
HtmlRuby
A RUBY widget.
HtmlTable
A TABLE widget.
HtmlTableCell
A TD (table cell) widget.
HtmlTableCompanion
Companion data for table.
HtmlTableValignBaseline
A valign=baseline widget.
HtmlWidget
A widget that builds Flutter widget tree from HTML (supports most popular tags and stylings).
ImageMetadata
An image.
ImageSource
An image source.
RebuildTriggers
A set of values that should trigger rebuild.
TextBit
A simple text bit.
TextStyleBuilder<T1>
A text styling builder.
TextStyleHtml
A text style.
WhitespaceBit
A whitespace bit.
WidgetBit
A widget bit.
WidgetFactory
A factory to build widgets.
WidgetPlaceholder<T>
A widget builder that supports builder callbacks.

Extensions

CssDeclarationExtension
An extension on css.Declaration.
CssFunctionTermExtension
An extension on css.FunctionTerm.
CssLiteralTermExtension
An extension on css.LiteralTerm.
CssNumberTermExtension
An extension on css.NumberTerm.
CssPercentageTermExtension
An extension on css.PercentageTerm.
CssStyleSheetExtension
An extension on css.StyleSheet.
DomElementExtension
An extension on dom.Element.

Constants

kShouldBuildAsync → const int
The default character threshold to build widget tree asynchronously. [...]
10000
widget0 → const SizedBox
A no op widget.
SizedBox.shrink()

Functions

bytesFromDataUri(String dataUri) Uint8List?
Returns Uint8List by decoding dataUri. [...]
listOrNull<T>(T? x) Iterable<T>?
Returns List<T> if x is provided or null otherwise.
tryParseDoubleFromMap(Map<dynamic, String> map, String key) double?
Parses key from map as an double literal and return its value.
tryParseIntFromMap(Map<dynamic, String> map, String key) int?
Parses key from map as a, possibly signed, integer literal and return its value.

Enums

CssLengthUnit
Length measurement units.
CssWhitespace
The whitespace behavior.

Typedefs

CustomStylesBuilder = Map<String, String>? Function(Element element)
A callback to specify custom styling. [...]
CustomWidgetBuilder = Widget? Function(Element element)
A callback to render custom widget for a DOM element. [...]