Update FormField.initialValue documentation (#171061)

## Description

This PR updates `FormField.initialValue` documentation to remove a
sentence which is obsolete since
https://github.com/flutter/flutter/pull/170805.

## Tests

Documentation only PR.
This commit is contained in:
Bruno Leroux 2025-06-24 14:56:36 +02:00 committed by GitHub
parent a545ff5a33
commit 97853d5f1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -534,9 +534,6 @@ class FormField<T> extends StatefulWidget {
/// An optional value to initialize the form field to, or null otherwise.
///
/// This is called `value` in the [DropdownButtonFormField] constructor to be
/// consistent with [DropdownButton].
///
/// The `initialValue` affects the form field's state in two cases:
/// 1. When the form field is first built, `initialValue` determines the field's initial state.
/// 2. When [FormFieldState.reset] is called (either directly or by calling