RulerScaleIndicator constructor

const RulerScaleIndicator({
  1. required Axis orientation,
  2. required String value,
  3. required bool isMajorIndicator,
  4. Color? color,
  5. Key? key,
})

Creates a scale indicator.

isMajorIndicator creates a longer version. Creates a scale marker.

Implementation

/// Creates a scale marker.
const RulerScaleIndicator({
  required this.orientation,
  required this.value,
  required this.isMajorIndicator,
  this.color,
  super.key,
});