HeaderStyle constructor
const
HeaderStyle({
- bool centerHeaderTitle = true,
- TextBuilder? titleTextBuilder,
- TextStyle titleTextStyle = const TextStyle(fontSize: 17.0),
- EdgeInsets leftChevronPadding = const EdgeInsets.all(8.0),
- EdgeInsets rightChevronPadding = const EdgeInsets.all(8.0),
- Icon leftChevronIcon = const Icon(Icons.chevron_left, color: Colors.black),
- Icon rightChevronIcon = const Icon(Icons.chevron_right, color: Colors.black),
- BoxDecoration decoration = const BoxDecoration(),
- 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,
});