Parser class

This class is at the core of the simple_html_css package . It has most of the methods required to convert HTML content into Flutter widgets

Constructors

Parser(BuildContext context, String data, {TextStyle? defaultTextStyle, dynamic linksCallback(dynamic)?, Map<String, TextStyle>? overrideStyleMap})

Properties

context BuildContext
final
defaultTextStyle TextStyle?
final
hashCode int
The hash code for this object.
no setterinherited
linksCallback → (dynamic Function(dynamic)?)
final
overrideStyleMap Map<String, TextStyle>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse() List<TextSpan>
Converts HTML content to a list of TextSpan objects
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited