Upgrading flutter_html 2 to 3
Breaking2.2.1 → 3.0.0Breaking6Platform1New18Changed9Fixed44Other11
BreakingUpgrade verdict
6 breaking changes and a platform requirement change.
In plain terms
- Code that used the old widget name must be updated to the new spelling.
- The old CustomRender API is replaced by HtmlExtension, so code using CustomRender must be updated.
- This version changes things in ways that may break existing code, so check the migration guide before upgrading.
- Sizes and margins are now given through new classes that accept units like em, rem, px, auto, and percent.
Must act Top 4 of 7 that need code or config changes
flutter_html publishes an official migration guide for version 3. It covers more than the release notes do.
Migration guide ↗Dart SDK requirement changed in 3.0.0: >=2.12.0 <3.0.0 → >=3.2.0 <4.0.0.
Flutter requirement changed in 3.0.0: >=2.2.0 → >=3.0.0.
What you must change
Breaking6
Renames CSSBoxWidget to CssBoxWidget.
CSSBoxWidgetCssBoxWidgetMigrates CustomRender to HtmlExtension.
CustomRenderHtmlExtensionIntroduces several breaking changes; see the migration guide for details.
Adds new
Margin, Height, and Width classes supporting em, rem, px, auto, and % values.MarginHeightWidthFull modularization using split packages; use flutter_html_all or follow the upgrade guide.
flutter_html_allReworks custom renders pending full modularization in 3.0.0.
Platform1
Package now requires Dart SDK >= 2.17.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- removed:
class AudioContentElement extends ReplacedElement - removed:
class ContainerSpan extends StatelessWidget - removed:
class DetailsContentElement extends LayoutElement - removed:
class EmptyLayoutElement extends LayoutElement - removed:
class ImageContentElement extends ReplacedElement - removed:
class InteractableElement extends StyledElement - removed:
class LayoutElement: abstract extends StyledElement - removed:
class ListStyleType - removed:
class MathElement extends ReplacedElement - removed:
class NavigationRequest - removed:
class RenderContext - removed:
class SelectableHtml extends StatelessWidget - removed:
class StyledText extends StatelessWidget - removed:
class SvgContentElement extends ReplacedElement - removed:
class TableCellElement extends StyledElement - removed:
class TableLayoutElement extends LayoutElement - removed:
class TableRowLayoutElement extends LayoutElement - removed:
class TableSectionLayoutElement extends LayoutElement - removed:
class TableStyleElement extends StyledElement - removed:
class VideoContentElement extends ReplacedElement - removed:
ctor AudioContentElement({ required String name, required this.src, required this.showControls, required this.autoplay, required this.loop, required this.muted, required dom.Element node, }) - removed:
ctor ContainerSpan({ this.key, this.child, this.children, required this.style, required this.newContext, this.shrinkWrap = …, }) - removed:
ctor DetailsContentElement({ required String name, required List<StyledElement> children, required dom.Element node, required this.elementList, }) - removed:
ctor EmptyLayoutElement({required String name}) - removed:
ctor FontSize.em(double? em) - removed:
ctor FontSize.percent(int percent) - removed:
ctor FontSize.rem(double rem) - removed:
ctor ImageContentElement({ required String name, required this.src, required this.alt, required dom.Element node, }) - removed:
ctor InteractableElement({ required String name, required List<StyledElement> children, required Style style, required this.href, required dom.Node node, required String elementId, }) - removed:
ctor LayoutElement({ String name = …, required List<StyledElement> children, String? elementId, dom.Element? node, }) - removed:
ctor ListStyleType.fromImage(String url) - removed:
ctor ListStyleType.fromWidget(Widget widget) - removed:
ctor MathElement({ required this.element, this.texStr, String name = …, }) - removed:
ctor NavigationRequest({required this.url, required this.isForMainFrame}) - removed:
ctor RenderContext({ required this.buildContext, required this.parser, required this.tree, required this.style, }) - removed:
ctor SelectableHtml({ Key? key, GlobalKey? anchorKey, required this.data, this.onLinkTap, this.onAnchorTap, this.onCssParseError, this.shrinkWrap = …, this.style = …, this.tagsList = …, this.selectionControls, this.scrollPhysics, }) - removed:
ctor SelectableHtml.fromDom({ Key? key, GlobalKey? anchorKey, required this.document, this.onLinkTap, this.onAnchorTap, this.onCssParseError, this.shrinkWrap = …, this.style = …, this.tagsList = …, this.selectionControls, this.scrollPhysics, }) - removed:
ctor StyledText({ required this.textSpan, required this.style, this.textScaleFactor = …, required this.renderContext, this.key, this.selectionControls, this.scrollPhysics, }) - removed:
ctor StyledText.selectable({ required TextSpan textSpan, required this.style, this.textScaleFactor = …, required this.renderContext, this.key, this.selectionControls, this.scrollPhysics, }) - removed:
ctor SvgContentElement({ required String name, required this.data, required this.width, required this.height, required dom.Element node, }) - removed:
ctor TableCellElement({ required String name, required String elementId, required List<String> elementClasses, required List<StyledElement> children, required Style style, required dom.Element node, }) - removed:
ctor TableLayoutElement({ required String name, required List<StyledElement> children, required dom.Element node, }) - removed:
ctor TableRowLayoutElement({ required String name, required List<StyledElement> children, required dom.Element node, }) - removed:
ctor TableSectionLayoutElement({ required String name, required List<StyledElement> children, }) - removed:
ctor TableStyleElement({ required String name, required List<StyledElement> children, required Style style, required dom.Element node, }) - removed:
ctor VideoContentElement({ required String name, required this.src, required this.poster, required this.showControls, required this.autoplay, required this.loop, required this.muted, required this.width, required this.height, required dom.Element node, }) - removed:
enum NavigationDecision - removed:
extension IterateLetters on String - removed:
field AudioContentElement.autoplay: final bool - removed:
field AudioContentElement.loop: final bool - removed:
field AudioContentElement.muted: final bool - removed:
field AudioContentElement.showControls: final bool - removed:
field AudioContentElement.src: final List<String?> - removed:
field ContainerSpan.child: final Widget? - removed:
field ContainerSpan.children: final List<InlineSpan>? - removed:
field ContainerSpan.key: final AnchorKey? - removed:
field ContainerSpan.newContext: final RenderContext - removed:
field ContainerSpan.shrinkWrap: final bool - removed:
field ContainerSpan.style: final Style - removed:
field DetailsContentElement.elementList: List<dom.Element> - removed:
field FontSize.size: final double? - removed:
field FontSize.units: final String - removed:
field Html.customImageRenders: final Map<ImageSourceMatcher, ImageRender> - removed:
field Html.customRender: final Map<String, CustomRender> - removed:
field Html.document: final dom.Document? - removed:
field Html.navigationDelegateForIframe: final NavigationDelegate? - removed:
field Html.onImageError: final ImageErrorListener? - removed:
field Html.onImageTap: final OnTap? - removed:
field Html.onMathError: final OnMathError? - removed:
field Html.tagsList: final List<String> - removed:
field HtmlParser.cachedImageSizes: final Map<String, Size> - removed:
field HtmlParser.customRender: final Map<String, CustomRender> - removed:
field HtmlParser.imageRenders: final Map<ImageSourceMatcher, ImageRender> - removed:
field HtmlParser.key: final Key? - removed:
field HtmlParser.navigationDelegateForIframe: final NavigationDelegate? - removed:
field HtmlParser.onImageError: final ImageErrorListener? - removed:
field HtmlParser.onImageTap: final OnTap? - removed:
field HtmlParser.onMathError: final OnMathError? - removed:
field HtmlParser.scrollPhysics: final ScrollPhysics? - removed:
field HtmlParser.selectable: final bool - removed:
field HtmlParser.selectionControls: final TextSelectionControls? - removed:
field HtmlParser.tagsList: final List<String> - removed:
field ImageContentElement.alt: final String? - removed:
field ImageContentElement.src: final String? - removed:
field InteractableElement.href: String? - removed:
field ListStyleType.text: final String - removed:
field ListStyleType.type: final String - removed:
field ListStyleType.widget: final Widget? - removed:
field MathElement.element: dom.Element - removed:
field MathElement.texStr: String? - removed:
field NavigationRequest.isForMainFrame: final bool - removed:
field NavigationRequest.url: final String - removed:
field RenderContext.buildContext: final BuildContext - removed:
field RenderContext.parser: final HtmlParser - removed:
field RenderContext.style: final Style - removed:
field RenderContext.tree: final StyledElement - removed:
field SelectableHtml.data: final String? - removed:
field SelectableHtml.document: final dom.Document? - removed:
field SelectableHtml.onAnchorTap: final OnTap? - removed:
field SelectableHtml.onCssParseError: final OnCssParseError? - removed:
field SelectableHtml.onLinkTap: final OnTap? - removed:
field SelectableHtml.scrollPhysics: final ScrollPhysics? - removed:
field SelectableHtml.selectionControls: final TextSelectionControls? - removed:
field SelectableHtml.shrinkWrap: final bool - removed:
field SelectableHtml.style: final Map<String, Style> - removed:
field SelectableHtml.tagsList: final List<String> - removed:
field Style.markerContent: Widget? - removed:
field StyledText.key: final AnchorKey? - removed:
field StyledText.renderContext: final RenderContext - removed:
field StyledText.scrollPhysics: final ScrollPhysics? - removed:
field StyledText.selectionControls: final TextSelectionControls? - removed:
field StyledText.style: final Style - removed:
field StyledText.textScaleFactor: final double - removed:
field StyledText.textSpan: final InlineSpan - removed:
field SvgContentElement.data: final String - removed:
field SvgContentElement.height: final double? - removed:
field SvgContentElement.width: final double? - removed:
field TableCellElement.colspan: int - removed:
field TableCellElement.rowspan: int - removed:
field TextContentElement.node: dom.Node? - removed:
field VideoContentElement.autoplay: final bool - removed:
field VideoContentElement.height: final double? - removed:
field VideoContentElement.loop: final bool - removed:
field VideoContentElement.muted: final bool - removed:
field VideoContentElement.poster: final String? - removed:
field VideoContentElement.showControls: final bool - removed:
field VideoContentElement.src: final List<String?> - removed:
field VideoContentElement.width: final double? - removed:
function assetImageRender({ double? width, double? height, }): ImageRender - removed:
function assetUriMatcher(): ImageSourceMatcher - removed:
function base64ImageRender(): ImageRender - removed:
function dataUriMatcher( {String? encoding = …, String? mime}): ImageSourceMatcher - removed:
function networkImageRender({ Map<String, String>? headers, String Function(String?)? mapUrl, double? width, double? height, Widget Function(String?)? altWidget, Widget Function()? loadingWidget, }): ImageRender - removed:
function networkSourceMatcher({ List<String> schemas = …, List<String>? domains, String? extension, }): ImageSourceMatcher - removed:
function parseInteractableElement( dom.Element element, List<StyledElement> children): InteractableElement - removed:
function parseLayoutElement( dom.Element element, List<StyledElement> children, ): LayoutElement - removed:
function parseReplacedElement( dom.Element element, List<StyledElement> children, NavigationDelegate? navigationDelegateForIframe, ): ReplacedElement - removed:
function parseStyledElement( dom.Element element, List<StyledElement> children): StyledElement - removed:
function parseTableCellElement( dom.Element element, List<StyledElement> children, ): TableCellElement - removed:
function parseTableDefinitionElement( dom.Element element, List<StyledElement> children, ): TableStyleElement - removed:
function svgDataImageRender(): ImageRender - removed:
function svgNetworkImageRender(): ImageRender - removed:
member Display.BLOCK - removed:
member Display.INLINE - removed:
member Display.INLINE_BLOCK - removed:
member Display.LIST_ITEM - removed:
member Display.NONE - removed:
member Gesture.TAP - removed:
member ListStylePosition.INSIDE - removed:
member ListStylePosition.OUTSIDE - removed:
member NavigationDecision.navigate - removed:
member NavigationDecision.prevent - removed:
member VerticalAlign.BASELINE - removed:
member VerticalAlign.SUB - removed:
member VerticalAlign.SUPER - removed:
member WhiteSpace.NORMAL - removed:
member WhiteSpace.PRE - removed:
method AudioContentElement.toWidget(RenderContext context): Widget - removed:
method ContainerSpan.build(BuildContext _): Widget - removed:
method DetailsContentElement.getChildren(List<InlineSpan> children, RenderContext context, InlineSpan? firstChild): List<InlineSpan> - removed:
method DetailsContentElement.toWidget(RenderContext context): Widget - removed:
method EmptyContentElement.toWidget(_): Widget? - removed:
method EmptyLayoutElement.toWidget(_): Widget? - removed:
method Html.build(BuildContext context): Widget - removed:
method HtmlParser.build(BuildContext context): Widget - removed:
method HtmlParser.parseTree(RenderContext context, StyledElement tree): InlineSpan - removed:
method ImageContentElement.toWidget(RenderContext context): Widget - removed:
method IterateLetters.nextLetter(): String - removed:
method LayoutElement.toWidget(RenderContext context): Widget? - removed:
method MathElement.parseMathRecursive(dom.Node node, String parsed): String - removed:
method MathElement.toWidget(RenderContext context): Widget - removed:
method NavigationRequest.toString(): String - removed:
method ReplacedElement.toWidget(RenderContext context): Widget? - removed:
method RubyElement.toWidget(RenderContext context): Widget - removed:
method SelectableHtml.build(BuildContext context): Widget - removed:
method StyledText.build(BuildContext context): Widget - removed:
method StyledText.consumeExpandedBlock(Display? display, RenderContext context): double? - removed:
method SvgContentElement.toWidget(RenderContext context): Widget - removed:
method TableLayoutElement.toWidget(RenderContext context): Widget - removed:
method TableRowLayoutElement.toWidget(RenderContext context): Widget - removed:
method TableSectionLayoutElement.toWidget(RenderContext context): Widget - removed:
method TextContentElement.toWidget(_): Widget? - removed:
method VideoContentElement.toWidget(RenderContext context): Widget - removed:
static field ListStyleType.CIRCLE: const - removed:
static field ListStyleType.DECIMAL: const - removed:
static field ListStyleType.DISC: const - removed:
static field ListStyleType.LOWER_ALPHA: const - removed:
static field ListStyleType.LOWER_LATIN: const - removed:
static field ListStyleType.LOWER_ROMAN: const - removed:
static field ListStyleType.NONE: const - removed:
static field ListStyleType.SQUARE: const - removed:
static field ListStyleType.UPPER_ALPHA: const - removed:
static field ListStyleType.UPPER_LATIN: const - removed:
static field ListStyleType.UPPER_ROMAN: const - removed:
static get Html.tags: List<String> - removed:
static get SelectableHtml.tags: List<String> - removed:
static method HtmlParser.cleanTree(StyledElement tree): StyledElement - removed:
static method HtmlParser.lexDomTree( dom.Document html, List<String> customRenderTags, List<String> tagsList, NavigationDelegate? navigationDelegateForIframe, BuildContext context, ): StyledElement - removed:
typedef CustomRender = dynamic Function( RenderContext context, Widget parsedChild, ) - removed:
typedef FutureOr<NavigationDecision> NavigationDelegate( NavigationRequest navigation) - removed:
typedef ImageRender = Widget? Function( RenderContext context, Map<String, String> attributes, dom.Element? element, ) - removed:
typedef ImageSourceMatcher = bool Function( Map<String, String> attributes, dom.Element? element, ) - removed:
typedef ListCharacter = String Function(int i) - removed:
typedef OnMathError = Widget Function( String parsedTex, String exception, String exceptionWithType, ) - removed:
variable defaultImageRenders: final Map<ImageSourceMatcher, ImageRender> - changed:
class FontSize → class FontSize extends LengthOrPercent - changed:
class Html extends StatelessWidget → class Html extends StatefulWidget - changed:
class HtmlParser extends StatelessWidget → class HtmlParser extends StatefulWidget - changed:
ctor EmptyContentElement({String name = …}) → ctor EmptyContentElement({required super.node, super.name = …}) - changed:
ctor FontSize(this.size, {this.units = …}) → ctor FontSize(super.size, [super.unit]) - changed:
ctor Html({ Key? key, GlobalKey? anchorKey, required this.data, this.onLinkTap, this.onAnchorTap, this.customRender = …, this.customImageRenders = …, this.onCssParseError, this.onImageError, this.onMathError, this.shrinkWrap = …, this.onImageTap, this.tagsList = …, this.style = …, this.navigationDelegateForIframe, }) → ctor Html({ super.key, GlobalKey? anchorKey, required this.data, this.onLinkTap, this.onAnchorTap, this.extensions = …, this.onCssParseError, this.shrinkWrap = …, this.onlyRenderTheseTags, this.doNotRenderTheseTags, this.style = …, }) - changed:
ctor Html.fromDom({ Key? key, GlobalKey? anchorKey, @required this.document, this.onLinkTap, this.onAnchorTap, this.customRender = …, this.customImageRenders = …, this.onCssParseError, this.onImageError, this.onMathError, this.shrinkWrap = …, this.onImageTap, this.tagsList = …, this.style = …, this.navigationDelegateForIframe, }) → ctor Html.fromDom({ super.key, GlobalKey? anchorKey, required dom.Document? document, this.onLinkTap, this.onAnchorTap, this.extensions = …, this.onCssParseError, this.shrinkWrap = …, this.doNotRenderTheseTags, this.onlyRenderTheseTags, this.style = …, }) - changed:
ctor HtmlParser({ required this.key, required this.htmlData, required this.onLinkTap, required this.onAnchorTap, required this.onImageTap, required this.onCssParseError, required this.onImageError, required this.onMathError, required this.shrinkWrap, required this.selectable, required this.style, required this.customRender, required this.imageRenders, required this.tagsList, required this.navigat… → ctor HtmlParser({ required super.key, required this.htmlData, required this.onLinkTap, required this.onAnchorTap, required this.onCssParseError, required this.shrinkWrap, required this.style, required this.extensions, required this.doNotRenderTheseTags, required this.onlyRenderTheseTags, this.root, }) - changed:
ctor ListStyleType(this.text, {this.type = …, this.widget}) → ctor ListStyleType(this.counterStyle) - changed:
ctor ReplacedElement({ required String name, required Style style, required String elementId, List<StyledElement>? children, dom.Element? node, this.alignment = …, }) → ctor ReplacedElement({ required super.name, required super.style, required super.elementId, List<StyledElement>? children, required super.node, this.alignment = …, }) - changed:
ctor RubyElement({ required this.element, required List<StyledElement> children, String name = …}) → ctor RubyElement({ required this.element, required List<StyledElement> super.children, super.name = …, required super.node, }) - changed:
ctor Style({ this.backgroundColor = …, this.color, this.direction, this.display, this.fontFamily, this.fontFeatureSettings, this.fontSize, this.fontStyle, this.fontWeight, this.height, this.lineHeight, this.letterSpacing, this.listStyleType, this.listStylePosition, this.padding, this.margin, this.textAlign, this.textDecoration, this.textDecorationColor, this.textDecorationStyle, this.textDecorati… → ctor Style({ this.backgroundColor, this.color, this.counterIncrement, this.counterReset, this.direction, this.display, this.fontFamily, this.fontFamilyFallback, this.fontFeatureSettings, this.fontSize, this.fontStyle, this.fontWeight, this.height, this.lineHeight, this.letterSpacing, this.listStyleImage, this.listStyleType, this.listStylePosition, this.padding, this.marker, this.margin, this.text… - changed:
ctor StyledElement({ this.name = …, this.elementId = …, this.elementClasses = …, required this.children, required this.style, required dom.Element? node, }) → ctor StyledElement({ this.name = …, this.elementId = …, this.elementClasses = …, this.children = …, required this.style, required this.node, }) - changed:
ctor TextContentElement({ required Style style, required this.text, this.node, dom.Element? element, }) → ctor TextContentElement({ required super.style, required this.text, required super.node, dom.Element? element, }) - changed:
field HtmlParser.htmlData: final dom.Document → field HtmlParser.htmlData: final html.Element - changed:
field Style.height: double? → field Style.height: Height? - changed:
field Style.margin: EdgeInsets? → field Style.margin: Margins? - changed:
field Style.padding: EdgeInsets? → field Style.padding: HtmlPaddings? - changed:
field Style.verticalAlign: VerticalAlign? → field Style.verticalAlign: VerticalAlign - changed:
field Style.width: double? → field Style.width: Width? - changed:
method Style.copyWith({ Color? backgroundColor, Color? color, TextDirection? direction, Display? display, String? fontFamily, List<FontFeature>? fontFeatureSettings, FontSize? fontSize, FontStyle? fontStyle, FontWeight? fontWeight, double? height, LineHeight? lineHeight, double? letterSpacing, ListStyleType? listStyleType, ListStylePosition? listStylePosition, EdgeInsets? padding, EdgeInsets? mar… → method Style.copyWith({ Color? backgroundColor, Color? color, Map<String, int?>? counterIncrement, Map<String, int?>? counterReset, TextDirection? direction, Display? display, String? fontFamily, List<String>? fontFamilyFallback, List<FontFeature>? fontFeatureSettings, FontSize? fontSize, FontStyle? fontStyle, FontWeight? fontWeight, Height? height, LineHeight? lineHeight, double? letterSpacing,… - changed:
static field FontSize.large: const → static field FontSize.large: final - changed:
static field FontSize.larger: const → static field FontSize.larger: final - changed:
static field FontSize.medium: const → static field FontSize.medium: final - changed:
static field FontSize.small: const → static field FontSize.small: final - changed:
static field FontSize.smaller: const → static field FontSize.smaller: final - changed:
static field FontSize.xLarge: const → static field FontSize.xLarge: final - changed:
static field FontSize.xSmall: const → static field FontSize.xSmall: final - changed:
static field FontSize.xxLarge: const → static field FontSize.xxLarge: final - changed:
static field FontSize.xxSmall: const → static field FontSize.xxSmall: final - changed:
static method HtmlParser.parseHTML(String data): dom.Document → static method HtmlParser.parseHTML(String data): html.Element - changed:
static method Style.fromCss(String css, OnCssParseError? onCssParseError): Map<String, Style> → static method Style.fromCss( String css, OnCssParseError? onCssParseError): Map<String, Style> - changed:
typedef OnCssParseError = String? Function( String css, List<cssparser.Message> errors, ) → typedef OnCssParseError = String? Function( String css, List<css_parser.Message> errors, ) - changed:
typedef OnTap = void Function( String? url, RenderContext context, Map<String, String> attributes, dom.Element? element, ) → typedef OnTap = void Function( String? url, Map<String, String> attributes, html.Element? element, ) - added:
class AutoOrLengthOrPercent extends Dimension - added:
class CSSBoxParentData extends ContainerBoxParentData<RenderBox> - added:
class Content - added:
class CssBoxWidget extends StatelessWidget - added:
class Dimension: abstract - added:
class ExtensionContext - added:
class Height extends AutoOrLengthOrPercent - added:
class HtmlExtension: abstract - added:
class HtmlPadding extends LengthOrPercent - added:
class HtmlPaddings - added:
class ImageElement extends InteractiveElement - added:
class ImageExtension extends ImageBuiltIn - added:
class ImageTapExtensionElement extends StyledElement - added:
class InteractiveElement extends StyledElement - added:
class Length extends Dimension - added:
class LengthOrPercent extends Dimension - added:
class LinebreakContentElement extends ReplacedElement - added:
class ListStyleImage - added:
class Margin extends AutoOrLengthOrPercent - added:
class Margins - added:
class Marker - added:
class MatcherExtension extends HtmlExtension - added:
class OnImageTapExtension extends ImageBuiltIn - added:
class RenderCSSBox extends RenderBox with ContainerRenderObjectMixin<RenderBox, CSSBoxParentData>, RenderBoxContainerDefaultsMixin<RenderBox, CSSBoxParentData> - added:
class TagExtension extends HtmlExtension - added:
class TagWrapExtension extends HtmlExtension - added:
class Width extends AutoOrLengthOrPercent - added:
class WrapperElement extends StyledElement - added:
ctor AutoOrLengthOrPercent(double value, [Unit unit = …]) - added:
ctor Content(this.replacementContent) - added:
ctor CssBoxWidget({ super.key, required this.child, required this.style, this.textDirection, this.childIsReplaced = …, this.shrinkWrap = …, this.top = …, }) - added:
ctor CssBoxWidget.withInlineSpanChildren({ super.key, required List<InlineSpan> children, required this.style, this.textDirection, this.childIsReplaced = …, this.shrinkWrap = …, this.top = …, }) - added:
ctor Dimension(this.value, this.unit, UnitType dimensionUnitType) - added:
ctor Display({ this.displayOutside, this.displayInside, this.displayListItem = …, this.displayInternal, this.displayBox, }) - added:
ctor ExtensionContext({ required this.currentStep, required this.node, required this.parser, this.styledElement, this.buildContext, BuildChildrenCallback? buildChildrenCallback, }) - added:
ctor Height(super.value, [super.unit = …]) - added:
ctor Height.auto() - added:
ctor Html.fromElement({ super.key, GlobalKey? anchorKey, required this.documentElement, this.onLinkTap, this.onAnchorTap, this.extensions = …, this.onCssParseError, this.shrinkWrap = …, this.doNotRenderTheseTags, this.onlyRenderTheseTags, this.style = …, }) - added:
ctor HtmlExtension() - added:
ctor HtmlPadding(double value, [Unit? unit = …]) - added:
ctor HtmlPadding.zero() - added:
ctor HtmlPaddings({ this.left, this.right, this.inlineEnd, this.inlineStart, this.top, this.bottom, this.blockEnd, this.blockStart, }) - added:
ctor HtmlPaddings.all(double value, [Unit? unit]) - added:
ctor HtmlPaddings.only({ double? left, double? right, double? inlineEnd, double? inlineStart, double? top, double? bottom, double? blockEnd, double? blockStart, Unit? unit, }) - added:
ctor HtmlPaddings.symmetric({double? horizontal, double? vertical, Unit? unit}) - added:
ctor ImageElement({ required super.name, required super.children, required super.style, required super.node, required super.elementId, required this.src, required this.alt, required this.width, required this.height, }) - added:
ctor ImageExtension({ super.assetBundle, super.assetPackage, super.assetSchema = …, super.dataEncoding, super.fileExtensions, super.mimeTypes, super.networkDomains, super.networkHeaders, super.networkSchemas = …, super.handleAssetImages = …, super.handleDataImages = …, super.handleNetworkImages = …, Widget? child, Widget Function(ExtensionContext)? builder, }) - added:
ctor ImageExtension.inline({ super.assetBundle, super.assetPackage, super.assetSchema = …, super.dataEncoding, super.fileExtensions, super.mimeTypes, super.networkDomains, super.networkHeaders, super.networkSchemas = …, super.handleAssetImages = …, super.handleDataImages = …, super.handleNetworkImages = …, InlineSpan? child, InlineSpan Function(ExtensionContext)? builder, }) - added:
ctor ImageTapExtensionElement({ super.children, super.elementClasses, super.elementId, super.name, required super.node, required super.style, }) - added:
ctor InteractiveElement({ required super.name, required super.children, required super.style, required super.node, required super.elementId, required this.href, }) - added:
ctor Length(double value, [Unit unit = …]) - added:
ctor LengthOrPercent(double value, [Unit unit = …]) - added:
ctor LinebreakContentElement({ required super.style, required super.node, }) - added:
ctor ListStyleImage(this.uriText) - added:
ctor ListStyleType.fromName(String name) - added:
ctor Margin(double value, [Unit? unit = …]) - added:
ctor Margin.auto() - added:
ctor Margin.zero() - added:
ctor Margins({ this.left, this.right, this.inlineEnd, this.inlineStart, this.top, this.bottom, this.blockEnd, this.blockStart, }) - added:
ctor Margins.all(double value, [Unit? unit]) - added:
ctor Margins.only({ double? left, double? right, double? inlineEnd, double? inlineStart, double? top, double? bottom, double? blockEnd, double? blockStart, Unit? unit, }) - added:
ctor Margins.symmetric({double? horizontal, double? vertical, Unit? unit}) - added:
ctor Marker({ this.content = …, this.style, }) - added:
ctor MatcherExtension({ required this.matcher, Widget? child, Widget Function(ExtensionContext)? builder, }) - added:
ctor MatcherExtension.inline({ required this.matcher, InlineSpan? child, InlineSpan Function(ExtensionContext)? builder, }) - added:
ctor OnImageTapExtension({required this.onImageTap}) - added:
ctor RenderCSSBox({ required Display display, required Width width, required Height height, required Margins margins, required Size borderSize, required Size paddingSize, required TextDirection textDirection, required bool childIsReplaced, required bool shrinkWrap, }) - added:
ctor TagExtension({ required this.tagsToExtend, Widget? child, Widget Function(ExtensionContext)? builder, }) - added:
ctor TagExtension.inline({ required this.tagsToExtend, InlineSpan? child, InlineSpan Function(ExtensionContext)? builder, }) - added:
ctor TagWrapExtension({ required this.tagsToWrap, required this.builder, }) - added:
ctor Unit(this.unitType) - added:
ctor UnitType({this.children = …}) - added:
ctor Width(super.value, [super.unit = …]) - added:
ctor Width.auto() - added:
ctor WrapperElement({ required StyledElement child, }) - added:
enum CurrentStep - added:
enum DisplayBox - added:
enum DisplayInside - added:
enum DisplayInternal - added:
enum DisplayOutside - added:
enum ListStyleType - added:
enum Unit - added:
enum UnitType - added:
extension DeepCopy on ListQueue<Counter> - added:
extension MergeBorders on Border? - added:
extension Normalize on Dimension - added:
extension PaddingsFromEdgeInsets on EdgeInsets - added:
extension PaddingsFromEdgeInsetsDirectional on EdgeInsetsDirectional - added:
field Content.display: final bool - added:
field Content.replacementContent: final String? - added:
field CssBoxWidget.child: final Widget - added:
field CssBoxWidget.childIsReplaced: final bool - added:
field CssBoxWidget.shrinkWrap: final bool - added:
field CssBoxWidget.style: final Style - added:
field CssBoxWidget.textDirection: final TextDirection? - added:
field CssBoxWidget.top: final bool - added:
field Dimension.unit: Unit - added:
field Dimension.value: double - added:
field Display.displayBox: final DisplayBox? - added:
field Display.displayInside: final DisplayInside? - added:
field Display.displayInternal: final DisplayInternal? - added:
field Display.displayListItem: final bool - added:
field Display.displayOutside: final DisplayOutside? - added:
field ExtensionContext.buildContext: final BuildContext? - added:
field ExtensionContext.currentStep: final CurrentStep - added:
field ExtensionContext.node: final html.Node - added:
field ExtensionContext.parser: final HtmlParser - added:
field ExtensionContext.styledElement: final StyledElement? - added:
field Html.doNotRenderTheseTags: final Set<String>? - added:
field Html.documentElement: final dom.Element? - added:
field Html.extensions: final List<HtmlExtension> - added:
field Html.onlyRenderTheseTags: final Set<String>? - added:
field HtmlPaddings.blockEnd: final HtmlPadding? - added:
field HtmlPaddings.blockStart: final HtmlPadding? - added:
field HtmlPaddings.bottom: final HtmlPadding? - added:
field HtmlPaddings.inlineEnd: final HtmlPadding? - added:
field HtmlPaddings.inlineStart: final HtmlPadding? - added:
field HtmlPaddings.left: final HtmlPadding? - added:
field HtmlPaddings.right: final HtmlPadding? - added:
field HtmlPaddings.top: final HtmlPadding? - added:
field HtmlParser.doNotRenderTheseTags: final Set<String>? - added:
field HtmlParser.extensions: final List<HtmlExtension> - added:
field HtmlParser.internalOnAnchorTap: final OnTap? - added:
field HtmlParser.onlyRenderTheseTags: final Set<String>? - added:
field HtmlParser.root: final Html? - added:
field ImageElement.alt: final String? - added:
field ImageElement.height: final Height? - added:
field ImageElement.src: final String - added:
field ImageElement.width: final Width? - added:
field InteractiveElement.href: String? - added:
field ListStyleImage.uriText: final String - added:
field ListStyleType.counterStyle: final String - added:
field Margins.blockEnd: final Margin? - added:
field Margins.blockStart: final Margin? - added:
field Margins.bottom: final Margin? - added:
field Margins.inlineEnd: final Margin? - added:
field Margins.inlineStart: final Margin? - added:
field Margins.left: final Margin? - added:
field Margins.right: final Margin? - added:
field Margins.top: final Margin? - added:
field Marker.content: final Content - added:
field Marker.style: Style? - added:
field OnImageTapExtension.onImageTap: final OnTap - added:
field Style.counterIncrement: Map<String, int?>? - added:
field Style.counterReset: Map<String, int?>? - added:
field Style.fontFamilyFallback: List<String>? - added:
field Style.listStyleImage: ListStyleImage? - added:
field Style.marker: Marker? - added:
field StyledElement.counters: final ListQueue<Counter> - added:
field StyledElement.node: final dom.Node - added:
field TagExtension.tagsToExtend: final Set<String> - added:
field TagWrapExtension.tagsToWrap: final Set<String> - added:
field Unit.unitType: final UnitType - added:
field UnitType.children: final List<UnitType> - added:
get Content.isNormal: bool - added:
get Display.isBlock: bool - added:
get ExtensionContext.attributes: LinkedHashMap<String, String> - added:
get ExtensionContext.builtChildrenMap: Map<StyledElement, InlineSpan>? - added:
get ExtensionContext.classes: Set<String> - added:
get ExtensionContext.element: html.Element? - added:
get ExtensionContext.elementChildren: List<html.Element> - added:
get ExtensionContext.elementName: String - added:
get ExtensionContext.id: String - added:
get ExtensionContext.inlineSpanChildren: List<InlineSpan>? - added:
get ExtensionContext.innerHtml: String - added:
get ExtensionContext.style: Style? - added:
get ExtensionContext.styledElementChildren: List<StyledElement> - added:
get FontSize.emValue: double - added:
get HtmlExtension.supportedTags: Set<String> - added:
get HtmlPadding.hashCode: int - added:
get HtmlPaddings.hashCode: int - added:
get Margin.hashCode: int - added:
get Margins.collapsedSize: Size - added:
get Margins.hashCode: int - added:
get Margins.horizontal: double - added:
get Margins.vertical: double - added:
get MatcherExtension.supportedTags: Set<String> - added:
get OnImageTapExtension.supportedTags: Set<String> - added:
get PaddingsFromEdgeInsets.htmlPadding: HtmlPaddings - added:
get PaddingsFromEdgeInsetsDirectional.htmlPadding: HtmlPaddings - added:
get RenderCSSBox.borderSize: Size - added:
get RenderCSSBox.childIsReplaced: bool - added:
get RenderCSSBox.display: Display - added:
get RenderCSSBox.height: Height - added:
get RenderCSSBox.margins: Margins - added:
get RenderCSSBox.paddingSize: Size - added:
get RenderCSSBox.shrinkWrap: bool - added:
get RenderCSSBox.textDirection: TextDirection - added:
get RenderCSSBox.width: Width - added:
get TagExtension.supportedTags: Set<String> - added:
get TagWrapExtension.supportedTags: Set<String> - added:
member CurrentStep.building - added:
member CurrentStep.preProcessing - added:
member CurrentStep.preStyling - added:
member CurrentStep.preparing - added:
member Display.block - added:
member Display.blockRuby - added:
member Display.contents - added:
member Display.flex - added:
member Display.flowRoot - added:
member Display.grid - added:
member Display.inline - added:
member Display.inlineBlock - added:
member Display.inlineFlex - added:
member Display.inlineGrid - added:
member Display.inlineListItem - added:
member Display.inlineTable - added:
member Display.listItem - added:
member Display.none - added:
member Display.ruby - added:
member Display.rubyBase - added:
member Display.rubyBaseContainer - added:
member Display.rubyText - added:
member Display.rubyTextContainer - added:
member Display.runIn - added:
member Display.table - added:
member Display.tableCaption - added:
member Display.tableCell - added:
member Display.tableColumn - added:
member Display.tableColumnGroup - added:
member Display.tableFooterGroup - added:
member Display.tableHeaderGroup - added:
member Display.tableRow - added:
member Display.tableRowGroup - added:
member DisplayBox.contents - added:
member DisplayBox.none - added:
member DisplayInside.flex - added:
member DisplayInside.flow - added:
member DisplayInside.flowRoot - added:
member DisplayInside.grid - added:
member DisplayInside.ruby - added:
member DisplayInside.table - added:
member DisplayInternal.rubyBase - added:
member DisplayInternal.rubyBaseContainer - added:
member DisplayInternal.rubyText - added:
member DisplayInternal.rubyTextContainer - added:
member DisplayInternal.tableCaption - added:
member DisplayInternal.tableCell - added:
member DisplayInternal.tableColumn - added:
member DisplayInternal.tableColumnGroup - added:
member DisplayInternal.tableFooterGroup - added:
member DisplayInternal.tableHeaderGroup - added:
member DisplayInternal.tableRow - added:
member DisplayInternal.tableRowGroup - added:
member DisplayOutside.block - added:
member DisplayOutside.inline - added:
member DisplayOutside.runIn - added:
member Gesture.tap - added:
member ListStylePosition.inside - added:
member ListStylePosition.outside - added:
member ListStyleType.arabicIndic - added:
member ListStyleType.armenian - added:
member ListStyleType.bengali - added:
member ListStyleType.cambodian - added:
member ListStyleType.circle - added:
member ListStyleType.cjkDecimal - added:
member ListStyleType.cjkEarthlyBranch - added:
member ListStyleType.cjkHeavenlyStem - added:
member ListStyleType.cjkIdeographic - added:
member ListStyleType.decimal - added:
member ListStyleType.decimalLeadingZero - added:
member ListStyleType.devanagari - added:
member ListStyleType.disc - added:
member ListStyleType.disclosureClosed - added:
member ListStyleType.disclosureOpen - added:
member ListStyleType.ethiopicNumeric - added:
member ListStyleType.georgian - added:
member ListStyleType.gujarati - added:
member ListStyleType.gurmukhi - added:
member ListStyleType.hebrew - added:
member ListStyleType.hiragana - added:
member ListStyleType.hiraganaIroha - added:
member ListStyleType.japaneseFormal - added:
member ListStyleType.japaneseInformal - added:
member ListStyleType.kannada - added:
member ListStyleType.katakana - added:
member ListStyleType.katakanaIroha - added:
member ListStyleType.khmer - added:
member ListStyleType.koreanHangulFormal - added:
member ListStyleType.koreanHanjaFormal - added:
member ListStyleType.koreanHanjaInformal - added:
member ListStyleType.lao - added:
member ListStyleType.lowerAlpha - added:
member ListStyleType.lowerArmenian - added:
member ListStyleType.lowerGreek - added:
member ListStyleType.lowerLatin - added:
member ListStyleType.lowerRoman - added:
member ListStyleType.malayalam - added:
member ListStyleType.mongolian - added:
member ListStyleType.myanmar - added:
member ListStyleType.none - added:
member ListStyleType.oriya - added:
member ListStyleType.persian - added:
member ListStyleType.simpChineseFormal - added:
member ListStyleType.simpChineseInformal - added:
member ListStyleType.square - added:
member ListStyleType.tamil - added:
member ListStyleType.telugu - added:
member ListStyleType.thai - added:
member ListStyleType.tibetan - added:
member ListStyleType.tradChineseFormal - added:
member ListStyleType.tradChineseInformal - added:
member ListStyleType.upperAlpha - added:
member ListStyleType.upperArmenian - added:
member ListStyleType.upperLatin - added:
member ListStyleType.upperRoman - added:
member Unit.auto - added:
member Unit.em - added:
member Unit.percent - added:
member Unit.px - added:
member Unit.rem - added:
member UnitType.auto - added:
member UnitType.length - added:
member UnitType.lengthPercent - added:
member UnitType.lengthPercentAuto - added:
member UnitType.percent - added:
member VerticalAlign.baseline - added:
member VerticalAlign.bottom - added:
member VerticalAlign.middle - added:
member VerticalAlign.sub - added:
member VerticalAlign.sup - added:
member VerticalAlign.top - added:
member WhiteSpace.normal - added:
member WhiteSpace.pre - added:
method CssBoxWidget.build(BuildContext context): Widget - added:
method DeepCopy.deepCopy(): ListQueue<Counter> - added:
method Dimension.calculateRelativeValue(double remValue, double emValue): double? - added:
method Html.createState(): State<StatefulWidget> - added:
method HtmlExtension.beforeProcessing(ExtensionContext context): void - added:
method HtmlExtension.beforeStyle(ExtensionContext context): void - added:
method HtmlExtension.build(ExtensionContext context): InlineSpan - added:
method HtmlExtension.matches(ExtensionContext context): bool - added:
method HtmlExtension.onDispose(): void - added:
method HtmlExtension.prepare( ExtensionContext context, List<StyledElement> children): StyledElement - added:
method HtmlPadding.operator ==(Object other): bool - added:
method HtmlPaddings.copyWith({ HtmlPadding? left, HtmlPadding? right, HtmlPadding? inlineEnd, HtmlPadding? inlineStart, HtmlPadding? top, HtmlPadding? bottom, HtmlPadding? blockEnd, HtmlPadding? blockStart, }): HtmlPaddings - added:
method HtmlPaddings.copyWithEdge({ double? left, double? right, double? inlineEnd, double? inlineStart, double? top, double? bottom, double? blockEnd, double? blockStart, }): HtmlPaddings - added:
method HtmlPaddings.merge(HtmlPaddings? other): HtmlPaddings - added:
method HtmlPaddings.operator ==(Object other): bool - added:
method HtmlPaddings.resolve(TextDirection direction): EdgeInsets - added:
method HtmlParser.buildFromExtension( ExtensionContext extensionContext, { Set<HtmlExtension> extensionsToIgnore = …, }): InlineSpan - added:
method HtmlParser.createState(): State<HtmlParser> - added:
method HtmlParser.prepareFromExtension( ExtensionContext extensionContext, List<StyledElement> children, { Set<HtmlExtension> extensionsToIgnore = …, }): StyledElement - added:
method ImageExtension.Function(ExtensionContext): InlineSpan - added:
method ImageExtension.build(ExtensionContext context): InlineSpan - added:
method Margin.operator ==(Object other): bool - added:
method Margin.toString(): String - added:
method Margins.collapse(): Margins - added:
method Margins.copyWith({ Margin? left, Margin? right, Margin? inlineEnd, Margin? inlineStart, Margin? top, Margin? bottom, Margin? blockEnd, Margin? blockStart, }): Margins - added:
method Margins.copyWithEdge({ double? left, double? right, double? inlineEnd, double? inlineStart, double? top, double? bottom, double? blockEnd, double? blockStart, }): Margins - added:
method Margins.merge(Margins? other): Margins - added:
method Margins.operator ==(Object other): bool - added:
method Margins.toString(): String - added:
method MatcherExtension.Function(ExtensionContext): InlineSpan - added:
method MatcherExtension.Function(ExtensionContext): bool - added:
method MatcherExtension.build(ExtensionContext context): InlineSpan - added:
method MatcherExtension.matches(ExtensionContext context): bool - added:
method MergeBorders.merge(Border? other): Border? - added:
method Normalize.normalize(double emValue): void - added:
method OnImageTapExtension.build(ExtensionContext context): InlineSpan - added:
method OnImageTapExtension.matches(ExtensionContext context): bool - added:
method OnImageTapExtension.prepare( ExtensionContext context, List<StyledElement> children): StyledElement - added:
method RenderCSSBox.computeDistanceToActualBaseline(TextBaseline baseline): double? - added:
method RenderCSSBox.computeDryBaseline( covariant BoxConstraints constraints, TextBaseline baseline): double? - added:
method RenderCSSBox.computeDryLayout(BoxConstraints constraints): Size - added:
method RenderCSSBox.computeMaxIntrinsicHeight(double width): double - added:
method RenderCSSBox.computeMaxIntrinsicWidth(double height): double - added:
method RenderCSSBox.computeMinIntrinsicHeight(double width): double - added:
method RenderCSSBox.computeMinIntrinsicWidth(double height): double - added:
method RenderCSSBox.hitTestChildren(BoxHitTestResult result, {required Offset position}): bool - added:
method RenderCSSBox.paint(PaintingContext context, Offset offset): void - added:
method RenderCSSBox.performLayout(): void - added:
method RenderCSSBox.setupParentData(RenderBox child): void - added:
method Style.setRelativeValues(double remValue, double emValue): void - added:
method StyledElement.matches(dom.Element element, String selector): bool - added:
method TagExtension.Function(ExtensionContext): InlineSpan - added:
method TagExtension.build(ExtensionContext context): InlineSpan - added:
method TagWrapExtension.Function(Widget child): Widget - added:
method TagWrapExtension.build(ExtensionContext context): InlineSpan - added:
method TagWrapExtension.matches(ExtensionContext context): bool - added:
method TagWrapExtension.prepare( ExtensionContext context, List<StyledElement> children): StyledElement - added:
method UnitType.matches(UnitType other): bool - added:
method VerticalAlign.toPlaceholderAlignment(Display? display): PlaceholderAlignment - added:
set RenderCSSBox.borderSize(Size size) - added:
set RenderCSSBox.childIsReplaced(bool childIsReplaced) - added:
set RenderCSSBox.display(Display display) - added:
set RenderCSSBox.height(Height height) - added:
set RenderCSSBox.margins(Margins margins) - added:
set RenderCSSBox.paddingSize(Size size) - added:
set RenderCSSBox.shrinkWrap(bool shrinkWrap) - added:
set RenderCSSBox.textDirection(TextDirection textDirection) - added:
set RenderCSSBox.width(Width width) - added:
static field Content.none: const Content - added:
static field Content.normal: const Content - added:
static field HtmlParser.builtIns: final - added:
static get HtmlPaddings.zero: HtmlPaddings - added:
static get Margins.zero: Margins - added:
static method FontSize.inherit(FontSize? parent, FontSize? child): FontSize? - added:
static method RenderCSSBox.getIntrinsicDimension( RenderBox? firstChild, double Function(RenderBox child) mainChildSizeGetter, double marginSpaceNeeded): double - added:
typedef BuildChildrenCallback = Map<StyledElement, InlineSpan> Function()
- removed:
class ContainerSpan extends StatelessWidget - removed:
class HtmlParser extends StatelessWidget - removed:
class RenderContext - removed:
class StyledText extends StatelessWidget - removed:
ctor ContainerSpan({ this.key, this.child, this.children, required this.style, required this.newContext, this.shrinkWrap = …, }) - removed:
ctor HtmlParser({ required this.key, required this.htmlData, required this.onLinkTap, required this.onAnchorTap, required this.onImageTap, required this.onCssParseError, required this.onImageError, required this.onMathError, required this.shrinkWrap, required this.selectable, required this.style, required this.customRender, required this.imageRenders, required this.tagsList, required this.navigat… - removed:
ctor RenderContext({ required this.buildContext, required this.parser, required this.tree, required this.style, }) - removed:
ctor StyledText({ required this.textSpan, required this.style, this.textScaleFactor = …, required this.renderContext, this.key, this.selectionControls, this.scrollPhysics, }) - removed:
ctor StyledText.selectable({ required TextSpan textSpan, required this.style, this.textScaleFactor = …, required this.renderContext, this.key, this.selectionControls, this.scrollPhysics, }) - removed:
extension IterateLetters on String - removed:
field ContainerSpan.child: final Widget? - removed:
field ContainerSpan.children: final List<InlineSpan>? - removed:
field ContainerSpan.key: final AnchorKey? - removed:
field ContainerSpan.newContext: final RenderContext - removed:
field ContainerSpan.shrinkWrap: final bool - removed:
field ContainerSpan.style: final Style - removed:
field HtmlParser.cachedImageSizes: final Map<String, Size> - removed:
field HtmlParser.customRender: final Map<String, CustomRender> - removed:
field HtmlParser.htmlData: final dom.Document - removed:
field HtmlParser.imageRenders: final Map<ImageSourceMatcher, ImageRender> - removed:
field HtmlParser.key: final Key? - removed:
field HtmlParser.navigationDelegateForIframe: final NavigationDelegate? - removed:
field HtmlParser.onAnchorTap: final OnTap? - removed:
field HtmlParser.onCssParseError: final OnCssParseError? - removed:
field HtmlParser.onImageError: final ImageErrorListener? - removed:
field HtmlParser.onImageTap: final OnTap? - removed:
field HtmlParser.onLinkTap: final OnTap? - removed:
field HtmlParser.onMathError: final OnMathError? - removed:
field HtmlParser.scrollPhysics: final ScrollPhysics? - removed:
field HtmlParser.selectable: final bool - removed:
field HtmlParser.selectionControls: final TextSelectionControls? - removed:
field HtmlParser.shrinkWrap: final bool - removed:
field HtmlParser.style: final Map<String, Style> - removed:
field HtmlParser.tagsList: final List<String> - removed:
field RenderContext.buildContext: final BuildContext - removed:
field RenderContext.parser: final HtmlParser - removed:
field RenderContext.style: final Style - removed:
field RenderContext.tree: final StyledElement - removed:
field StyledText.key: final AnchorKey? - removed:
field StyledText.renderContext: final RenderContext - removed:
field StyledText.scrollPhysics: final ScrollPhysics? - removed:
field StyledText.selectionControls: final TextSelectionControls? - removed:
field StyledText.style: final Style - removed:
field StyledText.textScaleFactor: final double - removed:
field StyledText.textSpan: final InlineSpan - removed:
method ContainerSpan.build(BuildContext _): Widget - removed:
method HtmlParser.build(BuildContext context): Widget - removed:
method HtmlParser.parseTree(RenderContext context, StyledElement tree): InlineSpan - removed:
method IterateLetters.nextLetter(): String - removed:
method StyledText.build(BuildContext context): Widget - removed:
method StyledText.consumeExpandedBlock(Display? display, RenderContext context): double? - removed:
static method HtmlParser.cleanTree(StyledElement tree): StyledElement - removed:
static method HtmlParser.lexDomTree( dom.Document html, List<String> customRenderTags, List<String> tagsList, NavigationDelegate? navigationDelegateForIframe, BuildContext context, ): StyledElement - removed:
static method HtmlParser.parseCss(String data): css.StyleSheet - removed:
static method HtmlParser.parseHTML(String data): dom.Document - removed:
typedef CustomRender = dynamic Function( RenderContext context, Widget parsedChild, ) - removed:
typedef OnCssParseError = String? Function( String css, List<cssparser.Message> errors, ) - removed:
typedef OnMathError = Widget Function( String parsedTex, String exception, String exceptionWithType, ) - removed:
typedef OnTap = void Function( String? url, RenderContext context, Map<String, String> attributes, dom.Element? element, )
- removed:
function assetImageRender({ double? width, double? height, }): ImageRender - removed:
function assetUriMatcher(): ImageSourceMatcher - removed:
function base64ImageRender(): ImageRender - removed:
function dataUriMatcher( {String? encoding = …, String? mime}): ImageSourceMatcher - removed:
function networkImageRender({ Map<String, String>? headers, String Function(String?)? mapUrl, double? width, double? height, Widget Function(String?)? altWidget, Widget Function()? loadingWidget, }): ImageRender - removed:
function networkSourceMatcher({ List<String> schemas = …, List<String>? domains, String? extension, }): ImageSourceMatcher - removed:
function svgDataImageRender(): ImageRender - removed:
function svgNetworkImageRender(): ImageRender - removed:
typedef ImageRender = Widget? Function( RenderContext context, Map<String, String> attributes, dom.Element? element, ) - removed:
typedef ImageSourceMatcher = bool Function( Map<String, String> attributes, dom.Element? element, ) - removed:
variable defaultImageRenders: final Map<ImageSourceMatcher, ImageRender>
- removed:
class platformViewRegistry - removed:
static method platformViewRegistry.registerViewFactory( String viewTypeId, dynamic Function(int viewId) viewFactory): void - removed:
typedef VoidCallback = void Function()
- removed:
class platformViewRegistry - removed:
static method platformViewRegistry.registerViewFactory( String viewTypeId, dynamic Function(int viewId) viewFactory): void - removed:
typedef VoidCallback = void Function()
- removed:
class FontSize - removed:
class LineHeight - removed:
class ListStyleType - removed:
class Style - removed:
ctor FontSize(this.size, {this.units = …}) - removed:
ctor FontSize.em(double? em) - removed:
ctor FontSize.percent(int percent) - removed:
ctor FontSize.rem(double rem) - removed:
ctor LineHeight(this.size, {this.units = …}) - removed:
ctor LineHeight.em(double em) - removed:
ctor LineHeight.number(double num) - removed:
ctor LineHeight.percent(double percent) - removed:
ctor LineHeight.rem(double rem) - removed:
ctor ListStyleType(this.text, {this.type = …, this.widget}) - removed:
ctor ListStyleType.fromImage(String url) - removed:
ctor ListStyleType.fromWidget(Widget widget) - removed:
ctor Style({ this.backgroundColor = …, this.color, this.direction, this.display, this.fontFamily, this.fontFeatureSettings, this.fontSize, this.fontStyle, this.fontWeight, this.height, this.lineHeight, this.letterSpacing, this.listStyleType, this.listStylePosition, this.padding, this.margin, this.textAlign, this.textDecoration, this.textDecorationColor, this.textDecorationStyle, this.textDecorati… - removed:
ctor Style.fromTextStyle(TextStyle textStyle) - removed:
enum Display - removed:
enum ListStylePosition - removed:
enum TextTransform - removed:
enum VerticalAlign - removed:
enum WhiteSpace - removed:
field FontSize.size: final double? - removed:
field FontSize.units: final String - removed:
field LineHeight.size: final double? - removed:
field LineHeight.units: final String - removed:
field ListStyleType.text: final String - removed:
field ListStyleType.type: final String - removed:
field ListStyleType.widget: final Widget? - removed:
field Style.after: String? - removed:
field Style.alignment: Alignment? - removed:
field Style.backgroundColor: Color? - removed:
field Style.before: String? - removed:
field Style.border: Border? - removed:
field Style.color: Color? - removed:
field Style.direction: TextDirection? - removed:
field Style.display: Display? - removed:
field Style.fontFamily: String? - removed:
field Style.fontFeatureSettings: List<FontFeature>? - removed:
field Style.fontSize: FontSize? - removed:
field Style.fontStyle: FontStyle? - removed:
field Style.fontWeight: FontWeight? - removed:
field Style.height: double? - removed:
field Style.letterSpacing: double? - removed:
field Style.lineHeight: LineHeight? - removed:
field Style.listStylePosition: ListStylePosition? - removed:
field Style.listStyleType: ListStyleType? - removed:
field Style.margin: EdgeInsets? - removed:
field Style.markerContent: Widget? - removed:
field Style.maxLines: int? - removed:
field Style.padding: EdgeInsets? - removed:
field Style.textAlign: TextAlign? - removed:
field Style.textDecoration: TextDecoration? - removed:
field Style.textDecorationColor: Color? - removed:
field Style.textDecorationStyle: TextDecorationStyle? - removed:
field Style.textDecorationThickness: double? - removed:
field Style.textOverflow: TextOverflow? - removed:
field Style.textShadow: List<Shadow>? - removed:
field Style.textTransform: TextTransform? - removed:
field Style.verticalAlign: VerticalAlign? - removed:
field Style.whiteSpace: WhiteSpace? - removed:
field Style.width: double? - removed:
field Style.wordSpacing: double? - removed:
member Display.BLOCK - removed:
member Display.INLINE - removed:
member Display.INLINE_BLOCK - removed:
member Display.LIST_ITEM - removed:
member Display.NONE - removed:
member ListStylePosition.INSIDE - removed:
member ListStylePosition.OUTSIDE - removed:
member TextTransform.capitalize - removed:
member TextTransform.lowercase - removed:
member TextTransform.none - removed:
member TextTransform.uppercase - removed:
member VerticalAlign.BASELINE - removed:
member VerticalAlign.SUB - removed:
member VerticalAlign.SUPER - removed:
member WhiteSpace.NORMAL - removed:
member WhiteSpace.PRE - removed:
method Style.copyOnlyInherited(Style child): Style - removed:
method Style.copyWith({ Color? backgroundColor, Color? color, TextDirection? direction, Display? display, String? fontFamily, List<FontFeature>? fontFeatureSettings, FontSize? fontSize, FontStyle? fontStyle, FontWeight? fontWeight, double? height, LineHeight? lineHeight, double? letterSpacing, ListStyleType? listStyleType, ListStylePosition? listStylePosition, EdgeInsets? padding, EdgeInsets? mar… - removed:
method Style.generateTextStyle(): TextStyle - removed:
method Style.merge(Style other): Style - removed:
method Style.toString(): String - removed:
static field FontSize.large: const - removed:
static field FontSize.larger: const - removed:
static field FontSize.medium: const - removed:
static field FontSize.small: const - removed:
static field FontSize.smaller: const - removed:
static field FontSize.xLarge: const - removed:
static field FontSize.xSmall: const - removed:
static field FontSize.xxLarge: const - removed:
static field FontSize.xxSmall: const - removed:
static field LineHeight.normal: const - removed:
static field ListStyleType.CIRCLE: const - removed:
static field ListStyleType.DECIMAL: const - removed:
static field ListStyleType.DISC: const - removed:
static field ListStyleType.LOWER_ALPHA: const - removed:
static field ListStyleType.LOWER_LATIN: const - removed:
static field ListStyleType.LOWER_ROMAN: const - removed:
static field ListStyleType.NONE: const - removed:
static field ListStyleType.SQUARE: const - removed:
static field ListStyleType.UPPER_ALPHA: const - removed:
static field ListStyleType.UPPER_LATIN: const - removed:
static field ListStyleType.UPPER_ROMAN: const - removed:
static method Style.fromCss(String css, OnCssParseError? onCssParseError): Map<String, Style> - removed:
static method Style.fromThemeData(ThemeData theme): Map<String, Style>