TextNode constructor

TextNode({
  1. String text = '',
  2. TextStyle? style,
})

Implementation

TextNode({this.text = '', TextStyle? style}) {
  this.style = style ?? const TextStyle();
}