RangeAnnotation<D> constructor
RangeAnnotation<D> (
- List<
AnnotationSegment< annotations, {Object> > - Color? defaultColor,
- AnnotationLabelAnchor? defaultLabelAnchor,
- AnnotationLabelDirection? defaultLabelDirection,
- AnnotationLabelPosition? defaultLabelPosition,
- TextStyleSpec? defaultLabelStyleSpec,
- bool? extendAxis,
- int? labelPadding,
- int? layoutPaintOrder,
Implementation
RangeAnnotation(this.annotations,
{common.Color? defaultColor,
this.defaultLabelAnchor,
this.defaultLabelDirection,
this.defaultLabelPosition,
this.defaultLabelStyleSpec,
this.extendAxis,
this.labelPadding,
this.layoutPaintOrder})
: this.defaultColor =
defaultColor ?? common.MaterialPalette.gray.shade100;