initialValue property

num? initialValue
inherited

Returns the initial value, which may be declared at the field, or by the parent FormBuilder.initialValue. When declared at both levels, the field initialValue prevails.

Implementation

T? get initialValue =>
    widget.initialValue ??
    (_formBuilderState?.initialValue ??
        const <String, dynamic>{})[widget.name] as T?;