Add slight clarification to debugDeterministicCursor (#27898)

This commit is contained in:
xster 2019-02-21 16:18:42 -08:00 committed by GitHub
parent 617ca62709
commit 98455df459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -528,8 +528,12 @@ class EditableText extends StatefulWidget {
/// {@endtemplate} /// {@endtemplate}
final bool enableInteractiveSelection; final bool enableInteractiveSelection;
/// Setting this property to true makes the cursor stop blinking and stay visible on the screen continually. /// Setting this property to true makes the cursor stop blinking or fading
/// This property is most useful for testing purposes. /// on and off once the cursor appears on focus. This property is useful for
/// testing purposes.
///
/// It does not affect the necessity to focus the EditableText for the cursor
/// to appear in the first place.
/// ///
/// Defaults to false, resulting in a typical blinking cursor. /// Defaults to false, resulting in a typical blinking cursor.
static bool debugDeterministicCursor = false; static bool debugDeterministicCursor = false;