add doc details (#10136)

This commit is contained in:
xster
2017-05-16 21:30:46 -07:00
committed by GitHub
parent 97f7ddf291
commit f3a27e66fe

View File

@@ -51,9 +51,11 @@ class TextStyle {
final FontStyle fontStyle;
/// The amount of space (in logical pixels) to add between each letter.
/// A negative value can be used to bring the letters closer.
final double letterSpacing;
/// The amount of space (in logical pixels) to add at each sequence of white-space (i.e. between each word).
/// A negative value can be used to bring the words closer.
final double wordSpacing;
/// The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.