initialValue property

T? get initialValue
inherited

get initialValue

Forme.initialValue has higher priority than field's initialValue

Implementation

T get initialValue {
  if (name != null) {
    dynamic initialValue =
        _formeState?._getInitialValue(name!, widget.initialValue);
    if (initialValue != null) {
      return initialValue as T;
    }
  }
  return widget.initialValue;
}