|
|
@@ -13,7 +13,8 @@ class ParagraphCache {
|
|
|
return _cache[key];
|
|
|
}
|
|
|
|
|
|
- Paragraph performAndCacheLayout(String text, TextStyle style, double textScaleFactor, int key) {
|
|
|
+ Paragraph performAndCacheLayout(
|
|
|
+ String text, TextStyle style, double textScaleFactor, int key) {
|
|
|
final builder = ParagraphBuilder(style.getParagraphStyle());
|
|
|
builder.pushStyle(style.getTextStyle(textScaleFactor: textScaleFactor));
|
|
|
builder.addText(text);
|