FlexDefaultHeaderDividerBuilder constructor

const FlexDefaultHeaderDividerBuilder({
  1. Color? color,
  2. Color? draggingColor,
  3. Color? draggingIndicatorColor,
  4. EdgeInsets draggingPadding = const EdgeInsets.symmetric(vertical: 4.0),
  5. Color? hoverColor,
  6. Color? hoverIndicatorColor,
  7. EdgeInsets hoverPadding = const EdgeInsets.symmetric(vertical: 8.0),
  8. Color? indicatorColor,
  9. 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();