flutter_html library
Classes
- AnchorKey
- AutoOrLengthOrPercent
- Content
- CSSBoxParentData
- CssBoxWidget
- Dimension
- Represents a CSS dimension https://drafts.csswg.org/css-values/#dimensions
- EmptyContentElement
- ExtensionContext
-
Provides information about the current element on the Html tree for
an
Extension
to use. - FontSize
- Height
- Html
- HtmlExtension
- The HtmlExtension class allows you to customize the behavior of flutter_html or add additional functionality.
- HtmlPadding
- HtmlPaddings
- HtmlParser
- ImageElement
- An ImageElement is an InteractiveElement that displays images.
- ImageExtension
- ImageTapExtensionElement
- InteractiveElement
- An InteractiveElement is a StyledElement that takes user gestures (e.g. tap).
- 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)
- LinebreakContentElement
- LineHeight
- ListStyleImage
- Margin
- Margins
- Marker
- MatcherExtension
- OnImageTapExtension
- RenderCSSBox
- Implements the CSS layout algorithm
- ReplacedElement
- A ReplacedElement is a type of StyledElement that does not require its children to be rendered.
- RubyElement
- Style
- This class represents all the available CSS attributes for this package.
- StyledElement
- A StyledElement applies a style to all of its children.
- TagExtension
- TagExtension allows you to extend the functionality of flutter_html by defining the behavior of custom tags.
- TagWrapExtension
- TextContentElement
- TextContentElement is a ContentElement with plaintext as its content.
- Width
- The Width class takes in a value and units, and defaults to px if no units are provided. A helper constructor, Width.auto constructor is provided for convenience.
- WrapperElement
Enums
- CurrentStep
- Display
-
Equivalent to CSS
display
- DisplayBox
- DisplayInside
- DisplayInternal
- DisplayOutside
- Gesture
- A Gesture indicates the type of interaction by a user.
- ListStylePosition
- ListStyleType
- TextTransform
- Unit
- A Unit represents a CSS unit
- UnitType
- These are the base unit types
- VerticalAlign
- WhiteSpace
Extensions
Functions
-
numberToFontSize(
String num) → FontSize
Typedefs
-
BuildChildrenCallback
= Map<
StyledElement, InlineSpan> Function() -
OnCssParseError
= String? Function(String css, List<
Message> errors) -
OnTap
= void Function(String? url, Map<
String, String> attributes, Element? element)