SelectionTheme constructor

const SelectionTheme({
  1. required Color color,
  2. required Color borderColor,
  3. required double borderWidth,
})

Creates a selection theme with the specified visual properties.

Parameters:

  • color: Fill color for the selection rectangle (typically semi-transparent)
  • borderColor: Border color for the selection rectangle
  • borderWidth: Width of the selection rectangle border in pixels

Implementation

const SelectionTheme({
  required this.color,
  required this.borderColor,
  required this.borderWidth,
});