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

Para({Color color: Colors.black})

Properties

color Color
default color of text
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

a(String text, String urlParm, {bool bold: false}) Para
Add a new section containing an anchore link of url and label text 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