UEditorStyles class abstract

Shared visual styling for editor blocks (used by the editors and UHtmlView).

Constructors

UEditorStyles()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

baseStyle(BuildContext context, UBlockType type) TextStyle
decorate(BuildContext context, UBlockType type, Widget child) Widget
Wrap a block's content with type-specific chrome (quote bar, code panel).
label(UBlockType t) String
Localized label for a block type.
spacing(UBlockType type) EdgeInsets
Vertical breathing room above/below a block of type.

Constants

fontFamilies → const List<String>
Font families offered by the editors' font picker.
fontSizes → const List<double>
Font sizes offered by the editors' size picker.
palette → const List<int>
A small palette used for quick text/highlight colour picking.