BoxNode class final

A framed container (box).

Inheritance

Constructors

BoxNode({required List<LogNode> children, StyledText? title, BoxBorderStyle border = BoxBorderStyle.rounded, LogStyle? style, int tags = LogTag.none})
Creates a BoxNode.

Properties

border ↔ BoxBorderStyle
The visual style of the box borders.
getter/setter pair
children ↔ List<LogNode>
The child nodes contained within this layout structure.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style ↔ LogStyle?
Optional visual style for the box borders/title.
getter/setter pair
tags ↔ int
Semantic tags describing this node.
getter/setter pairinherited
title ↔ StyledText?
Optional title or label for this structural block (e.g., box title).
getter/setter pairinherited

Methods

copyWith({List<LogNode>? children, StyledText? title, int? tags, BoxBorderStyle? border, LogStyle? style}) → BoxNode
Creates a copy of this node with optional changes.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
releaseRecursive(LogPipelineFactory factory) → void
Releases this node and any children back to factory.
inherited
reset() → void
Resets this node's fields to their defaults for pool reuse.
override
toString() → String
A string representation of this object.
inherited

Operators

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