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

View File

@@ -528,8 +528,12 @@ class EditableText extends StatefulWidget {
/// {@endtemplate}
final bool enableInteractiveSelection;
/// Setting this property to true makes the cursor stop blinking and stay visible on the screen continually.
/// This property is most useful for testing purposes.
/// Setting this property to true makes the cursor stop blinking or fading
/// 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.
static bool debugDeterministicCursor = false;