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.new(BuildContext context, String data, {TextStyle? defaultTextStyle, dynamic linksCallback(dynamic)?, Map<
String, TextStyle> ? overrideStyleMap}) - Parser
Properties
- context → BuildContext
-
BuildContext
final
- defaultTextStyle → TextStyle?
-
defaultTextStyle
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- linksCallback → dynamic Function(dynamic)?
-
linksCallback
final
-
overrideStyleMap
→ Map<
String, TextStyle> ? -
overrideStyleMap
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