TextBlock constructor

const TextBlock(
  1. String text
)

Implementation

const TextBlock(this.text);