DockElement constructor

const DockElement({
  1. required String id,
  2. required String name,
  3. DockSide preferredDockSide = DockSide.leftTop,
  4. required Widget widget,
  5. Widget? icon,
  6. bool visible = false,
})

default constructor.

Implementation

const DockElement({
  required this.id,
  required this.name,
  this.preferredDockSide = DockSide.leftTop,
  required this.widget,
  this.icon,
  this.visible = false,
});