Heading constructor

Heading({
  1. String text = '',
  2. BLOCKS level = BLOCKS.HEADING_1,
  3. List? content,
  4. FontWeight fontWeight = FontWeight.bold,
  5. required Next next,
})

Implementation

Heading({
  this.text = '',
  this.level = BLOCKS.HEADING_1,
  this.content,
  this.fontWeight = FontWeight.bold,
  required this.next,
});