diff --git a/examples/widgets/styled_text.dart b/examples/widgets/styled_text.dart index f9c9804549..4ce79bd63a 100644 --- a/examples/widgets/styled_text.dart +++ b/examples/widgets/styled_text.dart @@ -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;