ReparentCommand constructor
ReparentCommand({
- required MessageBus bus,
- required WidgetData widget,
- WidgetData? newParent,
- Cell? newCell,
- int newIndex = -1,
Implementation
ReparentCommand({
required this.bus,
required this.widget,
this.newParent,
this.newCell,
this.newIndex = -1
}) : oldParent = widget.parent, oldCell = widget.cell;