FlexibleHeaderItem constructor
const
FlexibleHeaderItem({
- Widget? child,
- Alignment? alignment,
- Alignment? expandedAlignment,
- Alignment? collapsedAlignment,
- EdgeInsets? padding,
- EdgeInsets? expandedPadding,
- EdgeInsets? collapsedPadding,
- EdgeInsets? margin,
- EdgeInsets? expandedMargin,
- EdgeInsets? collapsedMargin,
- List<
HeaderItemOptions> options = const [], - 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);