SectionTitle constructor

const SectionTitle({
  1. Key? key,
  2. required String title,
  3. bool showPadding = true,
})

Creates a SectionTitle widget.

Parameters:

  • title: The title text to display, will be converted to uppercase (required).
  • showPadding: Whether to apply padding around the title (defaults to true).

Implementation

const SectionTitle({
  super.key,
  required this.title,
  this.showPadding = true,
});