BuildHeadingWidget constructor

const BuildHeadingWidget({
  1. Key? key,
  2. required int level,
  3. required String content,
  4. TextAlign? textAlign,
})

A widget that renders an HTML heading (h1-h6) with customizable level and content.

Implementation

const BuildHeadingWidget(
    {super.key, required this.level, required this.content, this.textAlign});