HeaderSetting constructor

const HeaderSetting({
  1. double topMargin = 70.0,
  2. double headerMaxHeight = 56.0,
  3. double headerMinHeight = 25.0,
  4. Widget headerBackground = const ColoredBox(color: Colors.black),
  5. dynamic headerLeftWidget = Icons.close,
  6. Widget headerRightWidget = const SizedBox(),
  7. Widget albumBuilder(
    1. BuildContext,
    2. BaseStateGallery<AssetPathEntity>,
    3. Widget?
    )?,
  8. FlexFit albumFit = FlexFit.loose,
  9. double elevation = 0,
  10. Size barSize = const Size(40, 5),
  11. 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,
});