Commit 99bc1466 authored by Adam Barth's avatar Adam Barth

Merge pull request #1133 from abarth/paragraph_builder

ParagraphBuilder should be able to build a paragraph
parents 1e18c383 403441d2
import 'dart:sky';
import 'package:test/test.dart';
void main() {
test("Should be able to build and layout a paragraph", () {
ParagraphBuilder builder = new ParagraphBuilder();
builder.addText('Hello');
Paragraph paragraph = builder.build(new ParagraphStyle());
expect(paragraph, isNotNull);
paragraph.layout();
});
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment