AnnotationTheme constructor

const AnnotationTheme({
  1. required Color selectionBorderColor,
  2. required Color selectionBackgroundColor,
  3. required Color highlightBorderColor,
  4. required Color highlightBackgroundColor,
  5. required double borderWidth,
  6. required BorderRadius borderRadius,
})

Creates an annotation theme with the specified visual properties.

All parameters are required to ensure consistent theming across different annotation states.

Parameters:

  • selectionBorderColor: Border color when annotation is selected
  • selectionBackgroundColor: Background overlay color when selected
  • highlightBorderColor: Border color when annotation is highlighted
  • highlightBackgroundColor: Background overlay color when highlighted
  • borderWidth: Width of the selection/highlight border
  • borderRadius: Border radius for the selection/highlight overlay

Implementation

const AnnotationTheme({
  required this.selectionBorderColor,
  required this.selectionBackgroundColor,
  required this.highlightBorderColor,
  required this.highlightBackgroundColor,
  required this.borderWidth,
  required this.borderRadius,
});