浏览代码

Fix formatting in paragraph_cache.dart

Lucas Aschenbach 3 年之前
父节点
当前提交
7df505f761
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lib/src/ui/paragraph_cache.dart

+ 2 - 1
lib/src/ui/paragraph_cache.dart

@@ -13,7 +13,8 @@ class ParagraphCache {
     return _cache[key];
     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());
     final builder = ParagraphBuilder(style.getParagraphStyle());
     builder.pushStyle(style.getTextStyle(textScaleFactor: textScaleFactor));
     builder.pushStyle(style.getTextStyle(textScaleFactor: textScaleFactor));
     builder.addText(text);
     builder.addText(text);