| Index: sky/sdk/example/widgets/styled_text.dart
|
| diff --git a/sky/sdk/example/widgets/styled_text.dart b/sky/sdk/example/widgets/styled_text.dart
|
| index c2d15922dc47278db12fcaa783c78afd90d4903a..46881bd4aec9f5a83126bb7bb9d05916d3c45909 100644
|
| --- a/sky/sdk/example/widgets/styled_text.dart
|
| +++ b/sky/sdk/example/widgets/styled_text.dart
|
| @@ -49,7 +49,7 @@ HAL: This mission is too important for me to allow you to jeopardize it.''';
|
| decorationColor: const Color(0xFF000000),
|
| decorationStyle: TextDecorationStyle.wavy
|
| );
|
| -
|
| +
|
| Component toStyledText(String name, String text) {
|
| TextStyle lineStyle = (name == "Dave") ? daveStyle : halStyle;
|
| return new StyledText(
|
| @@ -78,6 +78,7 @@ HAL: This mission is too important for me to allow you to jeopardize it.''';
|
| });
|
| }
|
|
|
| + @override
|
| Widget build() {
|
| List<Component> lines = nameLines
|
| .map((nameAndText) => Function.apply(toText, nameAndText))
|
|
|