NumberInput constructor

const NumberInput({
  1. Key? key,
  2. required double value,
})

Constructs a NumberInput widget.

The value parameter is required and represents the initial value of the input field.

Implementation

const NumberInput({Key? key, required this.value}) : super(key: key);