Skip to content

Commit 97853d5

Browse files
authored
Update FormField.initialValue documentation (flutter#171061)
## Description This PR updates `FormField.initialValue` documentation to remove a sentence which is obsolete since flutter#170805. ## Tests Documentation only PR.
1 parent a545ff5 commit 97853d5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/flutter/lib/src/widgets/form.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -534,9 +534,6 @@ class FormField<T> extends StatefulWidget {
534534

535535
/// An optional value to initialize the form field to, or null otherwise.
536536
///
537-
/// This is called `value` in the [DropdownButtonFormField] constructor to be
538-
/// consistent with [DropdownButton].
539-
///
540537
/// The `initialValue` affects the form field's state in two cases:
541538
/// 1. When the form field is first built, `initialValue` determines the field's initial state.
542539
/// 2. When [FormFieldState.reset] is called (either directly or by calling

0 commit comments

Comments
 (0)