AnnotationTheme constructor
const
AnnotationTheme({})
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 selectedselectionBackgroundColor: Background overlay color when selectedhighlightBorderColor: Border color when annotation is highlightedhighlightBackgroundColor: Background overlay color when highlightedborderWidth: Width of the selection/highlight borderhighlightBorderWidthDelta: Additional width for highlight border (default: 1.0)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,
this.highlightBorderWidthDelta = 1.0,
required this.borderRadius,
});