Para class
Used to build a RichText paragraph as a widget.
This class mimics HTML specifications in a rudimentary way. The class has several chained methods that builds TextSpan widgets formatted according to the method type.
The Para.emit() method is used to obtain the widget tree.
Constructors
Properties
Methods
-
a(
String text, String urlParm, {bool bold: false}) → Para -
Add a new section containing an anchore link of
url
and labeltext
to the Para instance. [...] -
b(
String text) → Para -
Add a new section containing bold
text
to the Para instance. [...] -
emit(
) → Container - Emits the widgets constructed with the formatting methods. [...]
-
i(
String text) → Para -
Add a new section containing italicized
text
to the Para instance. [...] -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
p(
String text) → Para -
Add a new paragraph containing
text
to the Para instance. [...] -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited