NumberField constructor

const NumberField({
  1. Key? key,
  2. Color color = Colors.blue,
  3. int min = 0,
  4. int max = 10000,
  5. TextEditingController? controller,
  6. FocusNode? focus,
  7. TextStyle style = const TextStyle(fontSize: 30),
})

Implementation

const NumberField(
    {Key? key,
    this.color = Colors.blue,
    this.min = 0,
    this.max = 10000,
    this.controller,
    this.focus,
    this.style = const TextStyle(fontSize: 30)})
    : super(key: key);