flutter_widget_from_html_core library

Classes

BuildOp
BuiltPiece
BuiltPieceSimple
CssBorders
CssBorderSide
CssLength
CssMargin
HtmlWidget
A widget that builds Flutter widget tree from html.
HtmlWidgetConfig
HtmlWidgetState
ImageLayout
IWidgetPlaceholder
NodeMetadata
SpacingPlaceholder
TextBit
TextBlock
TextStyleBuilders
WidgetFactory
WidgetPlaceholder<T1>

Constants

kCssBackgroundColor → const String
'background-color'
kCssBorder → const String
'border'
kCssBorderBottom → const String
'border-bottom'
kCssBorderTop → const String
'border-top'
kCssColor → const String
'color'
kCssDisplay → const String
'display'
kCssDisplayBlock → const String
'block'
kCssDisplayInline → const String
'inline'
kCssDisplayInlineBlock → const String
'inline-block'
kCssDisplayNone → const String
'none'
kCssFontFamily → const String
'font-family'
kCssFontSize → const String
'font-size'
kCssFontSizeLarge → const String
'large'
kCssFontSizeLarger → const String
'larger'
kCssFontSizeMedium → const String
'medium'
kCssFontSizeSmall → const String
'small'
kCssFontSizeSmaller → const String
'smaller'
kCssFontSizeXLarge → const String
'x-large'
kCssFontSizeXSmall → const String
'x-small'
kCssFontSizeXxLarge → const String
'xx-large'
kCssFontSizeXxSmall → const String
'xx-small'
kCssFontStyle → const String
'font-style'
kCssFontStyleItalic → const String
'italic'
kCssFontStyleNormal → const String
'normal'
kCssFontWeight → const String
'font-weight'
kCssFontWeight100 → const String
'100'
kCssFontWeight200 → const String
'200'
kCssFontWeight300 → const String
'300'
kCssFontWeight400 → const String
'400'
kCssFontWeight500 → const String
'500'
kCssFontWeight600 → const String
'600'
kCssFontWeight700 → const String
'700'
kCssFontWeight800 → const String
'800'
kCssFontWeight900 → const String
'900'
kCssFontWeightBold → const String
'bold'
kCssListStyleType → const String
'list-style-type'
kCssListStyleTypeCircle → const String
'circle'
kCssListStyleTypeDecimal → const String
'decimal'
kCssListStyleTypeDisc → const String
'disc'
kCssListStyleTypeSquare → const String
'square'
kCssMargin → const String
'margin'
kCssMarginBottom → const String
'margin-bottom'
kCssMarginLeft → const String
'margin-left'
kCssMarginRight → const String
'margin-right'
kCssMarginTop → const String
'margin-top'
kCssTextAlign → const String
'text-align'
kCssTextAlignCenter → const String
'center'
kCssTextAlignJustify → const String
'justify'
kCssTextAlignLeft → const String
'left'
kCssTextAlignRight → const String
'right'
kCssTextDecoration → const String
'text-decoration'
kCssTextDecorationLineThrough → const String
'line-through'
kCssTextDecorationNone → const String
'none'
kCssTextDecorationOverline → const String
'overline'
kCssTextDecorationUnderline → const String
'underline'
kTagCode → const String
'code'
kTagOrderedList → const String
'ol'
kTagPre → const String
'pre'
kTagQ → const String
'q'
kTagQClosing → const String
'”'
kTagQOpening → const String
'“'
kTagTable → const String
'table'
kTagTableAttrBorder → const String
'border'
kTagTableBody → const String
'tbody'
kTagTableCaption → const String
'caption'
kTagTableCell → const String
'td'
kTagTableFoot → const String
'tfoot'
kTagTableHead → const String
'thead'
kTagTableHeader → const String
'th'
kTagTableRow → const String
'tr'
kTagTt → const String
'tt'
kTagUnorderedList → const String
'ul'
widget0 → const SizedBox
A no op placeholder widget.
const SizedBox.shrink()

Functions

convertColorToHex(Color value) → String
lazySet(NodeMetadata meta, { BuildOp buildOp, Color color, bool decoOver, bool decoStrike, bool decoUnder, TextDecorationStyle decorationStyle, CssBorderStyle decorationStyleFromCssBorderStyle, String fontFamily, String fontSize, bool fontStyleItalic, FontWeight fontWeight, bool isBlockElement, bool isNotRenderable, Iterable<BuildOp> parentOps, Iterable<String> styles, Iterable<String> stylesPrepend }) NodeMetadata
parseColor(String value) Color
parseCssBorderSide(String value) CssBorderSide
parseCssBorderStyle(String value) CssBorderStyle
parseCssLength(String value) CssLength
splitCss(String value) → Iterable<String>

Enums

CssBorderStyle
CssLengthUnit

Typedefs

BuildOpDefaultStyles(NodeMetadata meta, Element e) → Iterable<String>
BuildOpOnChild(NodeMetadata meta, Element e) NodeMetadata
BuildOpOnPieces(NodeMetadata meta, Iterable<BuiltPiece> pieces) → Iterable<BuiltPiece>
BuildOpOnWidgets(NodeMetadata meta, Iterable<Widget> widgets) → Iterable<Widget>
FactoryBuilder(HtmlWidgetConfig config) WidgetFactory
NodeMetadataCollector(NodeMetadata meta, Element e) NodeMetadata
OnTapUrl(String url) → void
TextStyleBuilder<T>(TextStyleBuilders tsb, TextStyle textStyle, T input) TextStyle
WidgetPlaceholderBuilder<T>(BuildContext context, Iterable<Widget> children, T input) → Iterable<Widget>