flutter_widget_from_html_core library

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.
CssBorderSide
A border.
CssLength
A length measurement.
CssLengthBox
A set of length measurements.
CssSizing
A CSS sizing widget.
CssSizingValue
A CssSizing value.
HtmlRuby
A RUBY 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.
TableMetadata
A table.
TextBit
A simple text bit.
TextStyleBuilder<T1>
A text styling builder.
TextStyleHtml
A text style.
WidgetBit<T>
A widget bit.
WidgetFactory
A factory to build widgets.
WidgetPlaceholder<T>
A widget builder that supports builder callbacks.

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.

Typedefs

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