HeaderSetting constructor
const
HeaderSetting({
- double topMargin = 70.0,
- double headerMaxHeight = 56.0,
- double headerMinHeight = 25.0,
- Widget headerBackground = const ColoredBox(color: Colors.black),
- dynamic headerLeftWidget = Icons.close,
- Widget headerRightWidget = const SizedBox(),
- Widget albumBuilder(
- BuildContext,
- BaseStateGallery<
AssetPathEntity> , - Widget?
- FlexFit albumFit = FlexFit.loose,
- double elevation = 0,
- Size barSize = const Size(40, 5),
- BorderRadius borderRadius = BorderRadius.zero,
Implementation
const HeaderSetting({
this.topMargin = 70.0,
this.headerMaxHeight = 56.0,
this.headerMinHeight = 25.0,
this.headerBackground = const ColoredBox(color: Colors.black),
this.headerLeftWidget = Icons.close,
this.headerRightWidget = const SizedBox(),
this.albumBuilder,
this.albumFit = FlexFit.loose,
this.elevation = 0,
this.barSize = const Size(40, 5),
this.borderRadius = BorderRadius.zero,
});