Unverified Commit 5071657e authored by Gary Qian's avatar Gary Qian Committed by GitHub

Add docs to explain cursor drawing behavior. (#24135)

parent 5b3518fe
......@@ -417,6 +417,12 @@ class EditableText extends StatefulWidget {
/// How thick the cursor will be.
///
/// Defaults to 2.0
///
/// The cursor will draw under the text. The cursor width will extend
/// to the right of the boundary between characters for left-to-right text
/// and to the left for right-to-left text. This corresponds to extending
/// downstream relative to the selected position. Negative values may be used
/// to reverse this behavior.
/// {@endtemplate}
final double cursorWidth;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment