DiagramPropertyGroup class final

A titled section of related properties.

Properties name their group; an inspector shows each group once, in the order its first property appears. A contributed property joins the end of its group. A group that does not exist yet is placed after another group, or at the end. spacing sets the space around the section and labelPlacement where its fields' labels sit.

Constructors

DiagramPropertyGroup(String id, {String? label, String? after, DiagramPropertySpacing spacing = const DiagramPropertySpacing(), DiagramPropertyLabelPlacement labelPlacement = DiagramPropertyLabelPlacement.beside})
const

Properties

after → String?
The id of the group this one follows when it is first placed.
final
hashCode → int
The hash code for this object.
no setteroverride
id → String
final
label → String?
The section title; null shows the properties without a title.
final
labelPlacement → DiagramPropertyLabelPlacement
Where the labels of the section's fields sit.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spacing → DiagramPropertySpacing
The space before the section, under its title and after it.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

alignment → const DiagramPropertyGroup
Paragraph alignment.
appearance → const DiagramPropertyGroup
Whole-element appearance, such as opacity.
arrangement → const DiagramPropertyGroup
Arrangement of several selected elements.
arrowheads → const DiagramPropertyGroup
Connector start and end markers.
canvas → const DiagramPropertyGroup
Canvas settings.
clip → const DiagramPropertyGroup
Whether a container clips its content.
content → const DiagramPropertyGroup
Authored content such as an image.
general → const DiagramPropertyGroup
Untitled properties that describe the subject itself, such as its lock.
geometry → const DiagramPropertyGroup
Parametric shape geometry, such as polygon sides.
grid → const DiagramPropertyGroup
Grid spacing.
paragraphs → const DiagramPropertyGroup
Paragraph structure, such as headings and lists.
points → const DiagramPropertyGroup
The points of an editable path.
presentation → const DiagramPropertyGroup
How a connector label is drawn.
rotation → const DiagramPropertyGroup
Rotation snapping.
routing → const DiagramPropertyGroup
How a connector finds its path.
stroke → const DiagramPropertyGroup
Connector line appearance.
style → const DiagramPropertyGroup
Fill, stroke and corners of a shape. A creation tool edits only these properties for the shapes it will create.
text → const DiagramPropertyGroup
Character formatting.
transform → const DiagramPropertyGroup
Position, size and rotation.
values → const DiagramPropertyGroup
A shape's declared values.