Turn on wavy underlines. The waves aren't very pretty yet (they are too short somehow), I'll fix that in a subsequent CL.
I abstracted out the wavy underline code so that it doesn't duplicate the code for horizontal and vertical lines. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1201503003.
This commit is contained in:
@@ -44,7 +44,11 @@ HAL: This mission is too important for me to allow you to jeopardize it.''';
|
||||
final TextStyle daveStyle = new TextStyle(color: Indigo[400]);
|
||||
final TextStyle halStyle = new TextStyle(color: Red[400], fontFamily: "monospace");
|
||||
final TextStyle boldStyle = const TextStyle(fontWeight: bold);
|
||||
final TextStyle underlineStyle = const TextStyle(decoration: underline);
|
||||
final TextStyle underlineStyle = const TextStyle(
|
||||
decoration: underline,
|
||||
decorationColor: const Color(0xFF000000),
|
||||
decorationStyle: TextDecorationStyle.wavy
|
||||
);
|
||||
|
||||
Component toStyledText(String name, String text) {
|
||||
TextStyle lineStyle = (name == "Dave") ? daveStyle : halStyle;
|
||||
|
||||
Reference in New Issue
Block a user