GlassStepper constructor
const
GlassStepper({
- Key? key,
- required double value,
- required ValueChanged<
double> ? onChanged, - double min = 0.0,
- double max = 100.0,
- double step = 1.0,
- bool wraps = false,
- bool autoRepeat = true,
- Duration autoRepeatDelay = const Duration(milliseconds: 500),
- Duration autoRepeatInterval = const Duration(milliseconds: 100),
- double height = 34.0,
- double width = 94.0,
- double dividerWidth = 0.5,
- LiquidGlassSettings? settings,
- GlassQuality? quality,
Creates an iOS 26-style glass stepper.
Implementation
const GlassStepper({
super.key,
required this.value,
required this.onChanged,
this.min = 0.0,
this.max = 100.0,
this.step = 1.0,
this.wraps = false,
this.autoRepeat = true,
this.autoRepeatDelay = const Duration(milliseconds: 500),
this.autoRepeatInterval = const Duration(milliseconds: 100),
this.height = 34.0,
this.width = 94.0,
this.dividerWidth = 0.5,
this.settings,
this.quality,
});