flutter/examples/widgets
Hans Muller 59c4078a09 StyledText is just a convenient way to specify a
tree of InlineStyle and InlineText elements.
StyledText builds an Inline that renders the tree.

For example this StyledText object:

  new StyledText(["FOO", [boldLargerStyle, [greenStyle "BAR"], "BAZ"] BORF]);

Renders the same way the following HTML would,
assuming that TextStyles boldLargerStyle and
greenStyle were defined.

<style>
div {
  display: inline;
}
</style>
<p>
  <div>
    FOO
    <div style="font-weight:bold; font-size:larger">
      <div style="color:green">
        BAR
      </div>
      BAZ
    </div>
    BORF
  </div>
</p>

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/1194693002.
2015-06-18 14:35:11 -07:00
..
container.dart Remove keys from the examples. 2015-06-17 15:23:41 -07:00
hello_widgets.dart Rename AppView to SkyBinding. 2015-06-17 17:07:31 -07:00
navigation.dart Remove keys from the examples. 2015-06-17 15:23:41 -07:00
sector.dart Rename editing2/ and theme2/ to editing/ and theme/. 2015-06-18 12:44:10 -07:00
spinning_mixed.dart Cleanup of SkyBinding, and resultant yak shaving. 2015-06-17 19:54:11 -07:00
styled_text.dart StyledText is just a convenient way to specify a 2015-06-18 14:35:11 -07:00