defaultChild property

  1. @override
LeafNode get defaultChild
override

Returns an instance of default child for this container node.

Always returns fresh instance.

Implementation

@override
LeafNode get defaultChild => TextNode();