getValue method

  1. @override
String? getValue()
override

Gets the current value of this field.

Implementation

@override
String? getValue() {
  if (textController.text.isEmpty) return null;
  return textController.text;
}