draggableElementDecoration static method

BoxDecoration draggableElementDecoration({
  1. bool isDragging = false,
})

Style of draggable elements

Implementation

static BoxDecoration draggableElementDecoration({bool isDragging = false}) =>
    BoxDecoration(
      color: isDragging ? primaryLight : surface,
      borderRadius: BorderRadius.circular(borderRadiusSmall),
      border: Border.all(color: isDragging ? primary : panelBorder, width: 1),
      boxShadow: isDragging ? cardShadow : null,
    );