From 55e51e798b5650e065e00f0303cab72f30b5fa5e Mon Sep 17 00:00:00 2001 From: Kyle Bradshaw Date: Sat, 8 Apr 2017 12:39:01 -0500 Subject: [PATCH] Form.dart doc typo fixes (#9302) Came across "can ve" while experimenting with Forms using VSCode and Dart Code. Glanced over the rest of the docs for typos while I was at it. --- packages/flutter/lib/src/widgets/form.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/flutter/lib/src/widgets/form.dart b/packages/flutter/lib/src/widgets/form.dart index a04c40f53b..0bb1b8158a 100644 --- a/packages/flutter/lib/src/widgets/form.dart +++ b/packages/flutter/lib/src/widgets/form.dart @@ -64,7 +64,7 @@ class Form extends StatefulWidget { /// State assocated with a [Form] widget. /// -/// A [FormState] object can ve used to [save], [reset], and [validate] every +/// A [FormState] object can be used to [save], [reset], and [validate] every /// [FormField] that is a descendant of the associated [Form]. /// /// Typically obtained via [Form.of]. @@ -117,7 +117,7 @@ class FormState extends State
{ } /// Validates every [FormField] that is a descendant of this [Form], and - /// returns true iff there are no errors. + /// returns true if there are no errors. bool validate() { _fieldDidChange(); return _validate(); @@ -221,7 +221,7 @@ class FormField extends StatefulWidget { /// An optional value to initialize the form field to, or null otherwise. final T initialValue; - /// If true, this form fields will validate and update its error text + /// If true, this form field will validate and update its error text /// immediately after every change. Otherwise, you must call /// [FormFieldState.validate] to validate. If part of a [Form] that /// autovalidates, this value will be ignored.