DNHeadingBar constructor

const DNHeadingBar({
  1. Key? key,
  2. required String title,
  3. double fontSize = 24.0,
  4. FontWeight fontWeight = FontWeight.bold,
  5. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16.0, vertical: 8.0),
  6. Widget actions = const SizedBox.shrink(),
})

Implementation

const DNHeadingBar({
  super.key,
  required this.title,
  this.fontSize = 24.0,
  this.fontWeight = FontWeight.bold,
  this.padding = const EdgeInsets.symmetric(horizontal: 16.0, vertical: 8.0),
  this.actions = const SizedBox.shrink(),
});