BubbleNode.node constructor
BubbleNode.node({
- required List<
BubbleNode> ? children, - int? padding = 0,
- BubbleOptions? options,
Implementation
BubbleNode.node({
required this.children,
this.padding = 0,
this.options,
}) : assert(children != null && children.isNotEmpty) {
for (var child in children!) {
_value += child.value;
child.parent = this;
}
}