Gets the current value of this field.
@override int? getValue() { if (textController.text.isEmpty) return null; try { return int.parse(textController.text); } catch (e) { return null; } }