FlexDefaultHeaderDividerBuilder constructor
const
FlexDefaultHeaderDividerBuilder({
- Color? color,
- Color? draggingColor,
- Color? draggingIndicatorColor,
- EdgeInsets draggingPadding = const EdgeInsets.symmetric(vertical: 4.0),
- Color? hoverColor,
- Color? hoverIndicatorColor,
- EdgeInsets hoverPadding = const EdgeInsets.symmetric(vertical: 8.0),
- Color? indicatorColor,
- EdgeInsets padding = const EdgeInsets.symmetric(vertical: 12.0),
Constructs the divider builder with the background color for the
draggable area, the resting padding to use within the divider, and the
indicatorColor to use for the centered indicator.
The hoverColor, hoverIndicatorColor, and hoverPadding will be
applied when the divider has been hovered but not pressed.
The draggingColor, draggingIndicatorColor, and draggingPadding will
be applied when the divider has been activated by being pressed and can
be actively dragged.
For backwards compatibility, this is effectively the same as calling
FlexDefaultHeaderDividerBuilder.light.
Implementation
const FlexDefaultHeaderDividerBuilder({
this.color,
this.draggingColor,
this.draggingIndicatorColor,
this.draggingPadding = const EdgeInsets.symmetric(vertical: 4.0),
this.hoverColor,
this.hoverIndicatorColor,
this.hoverPadding = const EdgeInsets.symmetric(vertical: 8.0),
this.indicatorColor,
this.padding = const EdgeInsets.symmetric(vertical: 12.0),
}) : super();