RulerScalePickerOptions constructor
const
RulerScalePickerOptions({})
Creates the configuration for a RulerPicker<T>
.
Implementation
const RulerScalePickerOptions({
this.isEnabled = true,
this.orientation = Axis.horizontal,
this.majorIndicatorInterval = 10,
this.indicatorExtend = 10,
this.showControls = true,
}) : assert(
indicatorExtend > 0,
'[indicatorExtend] must be greater 0',
),
assert(
majorIndicatorInterval > 0,
'[majorIndicatorInterval] must be greater 0',
);