DiagramTextRegionLayout constructor
const
DiagramTextRegionLayout({
- required String slotId,
- required DiagramRect bounds,
- DiagramTextDefinition? text,
- bool overflow = false,
- bool wrapText = true,
- DiagramTextVerticalAlignment verticalAlignment = DiagramTextVerticalAlignment.center,
- DiagramColor foreground = const DiagramColor(0xFF111111),
- double defaultFontSize = diagramDefaultFontSize,
Implementation
const DiagramTextRegionLayout({
required this.slotId,
required this.bounds,
this.text,
this.overflow = false,
this.wrapText = true,
this.verticalAlignment = DiagramTextVerticalAlignment.center,
this.foreground = const DiagramColor(0xFF111111),
this.defaultFontSize = diagramDefaultFontSize,
});