HeaderStyle constructor

const HeaderStyle({
  1. bool centerHeaderTitle = true,
  2. TextBuilder? titleTextBuilder,
  3. TextStyle titleTextStyle = const TextStyle(fontSize: 17.0),
  4. EdgeInsets leftChevronPadding = const EdgeInsets.all(8.0),
  5. EdgeInsets rightChevronPadding = const EdgeInsets.all(8.0),
  6. Icon leftChevronIcon = const Icon(Icons.chevron_left, color: Colors.black),
  7. Icon rightChevronIcon = const Icon(Icons.chevron_right, color: Colors.black),
  8. BoxDecoration decoration = const BoxDecoration(),
  9. bool enableFadeTransition = true,
})

Implementation

const HeaderStyle({
  this.centerHeaderTitle = true,
  this.titleTextBuilder,
  this.titleTextStyle = const TextStyle(fontSize: 17.0),
  this.leftChevronPadding = const EdgeInsets.all(8.0),
  this.rightChevronPadding = const EdgeInsets.all(8.0),
  this.leftChevronIcon = const Icon(Icons.chevron_left, color: Colors.black),
  this.rightChevronIcon =
      const Icon(Icons.chevron_right, color: Colors.black),
  this.decoration = const BoxDecoration(),
  this.enableFadeTransition = true,
});