FlexDefaultHeaderDividerBuilder class
Builds a divider between the table headers. The divider is the draggable portion that allows for resizing the columns.
- Inheritance
-
- Object
- FlexHeaderDividerBuilder
- FlexDefaultHeaderDividerBuilder
Constructors
- 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
colorfor the draggable area, the restingpaddingto use within the divider, and theindicatorColorto use for the centered indicator.const
Properties
- color → Color?
-
The color to use as the background of the divider when it is neither
hovered nor pressed.
final
- draggingColor → Color?
-
The color to use as the background of the divider when it is pressed.
final
- draggingIndicatorColor → Color?
-
The color to use as the draggable indicator of the divider when it is
pressed.
final
- draggingPadding → EdgeInsets
-
The internal padding around the indicator when the divider is pressed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hoverColor → Color?
-
The color to use as the background of the divider when it is hovered.
final
- hoverIndicatorColor → Color?
-
The color to use as the draggable indicator of the divider when it is
hovered.
final
- hoverPadding → EdgeInsets
-
The internal padding around the indicator when the divider is hovered.
final
- indicatorColor → Color?
-
The color to use as the draggable indicator of the divider when it is
neither pressed nor hovered.
final
- padding → EdgeInsets
-
The internal padding around the indicator when the divider is neither
pressed nor hovered.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildContext context, Axis axis, int index, bool resizable, bool dragging, bool highlighted, MultiSplitViewThemeData themeData) → Widget -
Builds the section for the draggable divider.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited