FlexibleHeaderItem constructor

const FlexibleHeaderItem({
  1. Widget? child,
  2. Alignment? alignment,
  3. Alignment? expandedAlignment,
  4. Alignment? collapsedAlignment,
  5. EdgeInsets? padding,
  6. EdgeInsets? expandedPadding,
  7. EdgeInsets? collapsedPadding,
  8. EdgeInsets? margin,
  9. EdgeInsets? expandedMargin,
  10. EdgeInsets? collapsedMargin,
  11. List<HeaderItemOptions> options = const [],
  12. Key? key,
})

Implementation

const FlexibleHeaderItem({
  this.child,
  this.alignment,
  this.expandedAlignment,
  this.collapsedAlignment,
  this.padding,
  this.expandedPadding,
  this.collapsedPadding,
  this.margin,
  this.expandedMargin,
  this.collapsedMargin,
  this.options = const [],
  Key? key,
})  : assert(alignment == null ||
          (expandedAlignment == null && collapsedAlignment == null)),
      assert(padding == null ||
          (expandedPadding == null && collapsedPadding == null)),
      assert(margin == null ||
          (expandedMargin == null && collapsedMargin == null)),
      super(key: key);