Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;Usage
const ui.NumberStepper(
defaultValue: 1,
min: 1,
max: 10,
)API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
NumberStepper
const NumberStepper({
super.key,
this.value,
this.defaultValue = 0,
this.onChanged,
this.min = 0,
this.max,
this.step = 1,
this.isDisabled = false,
this.size,
this.onRemove,
this.formatter,
this.semanticLabel = 'Quantity',
this.motion,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
value | double? | No | null |
defaultValue | double | No | 0 |
onChanged | ValueChanged<double>? | No | null |
min | double | No | 0 |
max | double? | No | null |
step | double | No | 1 |
isDisabled | bool | No | false |
size | NumberStepperSize? | No | null |
onRemove | VoidCallback? | No | null |
formatter | String Function(double value)? | No | null |
semanticLabel | String | No | 'Quantity' |
motion | ComponentMotion? | No | null |
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/controls/number_stepper/number_stepper.dart
This reference is generated from the NumberStepper declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

