formatus library

Classes

DeltaFormat
Difference between formats selected in FormatusBar and textFormats.
DeltaText
Delta between two texts.
FormatusAction
Extendable action to format text.
FormatusAnchor
FormatusBar
Actions to format text.
FormatusController
FormatusController displays the tree-like structure of a FormatusDocument into TextSpans to be displayed in a TextFormField.
FormatusViewer

Enums

Formatus
Formats for:
FormatusAttribute
HTML attribute names used in Formatus
FormatusColor
HTML color names used in Formatus
FormatusType
Type of a Formatus action / style

Constants

kDefaultFontSize → const double

Properties

anchorAction FormatusAction
Separately specified to put into expected position
final

Functions

findEnum(String? text, List values, {dynamic defaultValue, bool withKey = true}) → dynamic
Finds an enumeration item either by its name or by its key

Typedefs

AnchorActivity = Future<void> Function(BuildContext context, FormatusAnchor anchorElement)
Signature for action onTapAnchor
AnchorEditor = Future<FormatusAnchor?> Function(BuildContext context, FormatusAnchor anchorElement)
Signature for action onEditAnchor