defaultDraggerBuilder static method
Default builder for interactive drag handles between resizable panes.
Creates appropriate dragger widgets based on the panel orientation:
- Horizontal panels get vertical draggers
- Vertical panels get horizontal draggers
This is the default value for draggerBuilder when none is specified.
Implementation
static Widget? defaultDraggerBuilder(BuildContext context) {
final data = Data.of<ResizableData>(context);
if (data.direction == Axis.horizontal) {
return const VerticalResizableDragger();
} else {
return const HorizontalResizableDragger();
}
}