diff --git a/packages/flame/lib/src/text/common/utils.dart b/packages/flame/lib/src/text/common/utils.dart index 03e6b0a2782..6f19cd2d109 100644 --- a/packages/flame/lib/src/text/common/utils.dart +++ b/packages/flame/lib/src/text/common/utils.dart @@ -1,6 +1,5 @@ import 'dart:math'; -import 'package:flame/src/text/elements/group_element.dart'; import 'package:flame/text.dart'; import 'package:meta/meta.dart'; diff --git a/packages/flame/lib/src/text/nodes/column_node.dart b/packages/flame/lib/src/text/nodes/column_node.dart index 91906a22a82..2185fb77ab2 100644 --- a/packages/flame/lib/src/text/nodes/column_node.dart +++ b/packages/flame/lib/src/text/nodes/column_node.dart @@ -1,5 +1,4 @@ import 'package:flame/src/text/common/utils.dart'; -import 'package:flame/src/text/elements/group_element.dart'; import 'package:flame/text.dart'; import 'package:meta/meta.dart'; diff --git a/packages/flame/lib/src/text/nodes/document_root.dart b/packages/flame/lib/src/text/nodes/document_root.dart index 569cbf0661c..b8e69338881 100644 --- a/packages/flame/lib/src/text/nodes/document_root.dart +++ b/packages/flame/lib/src/text/nodes/document_root.dart @@ -1,7 +1,6 @@ import 'dart:math'; import 'package:flame/src/text/common/utils.dart'; -import 'package:flame/src/text/elements/group_element.dart'; import 'package:flame/text.dart'; import 'package:flutter/painting.dart'; diff --git a/packages/flame/lib/src/text/nodes/text_block_node.dart b/packages/flame/lib/src/text/nodes/text_block_node.dart index 3ea8dfe5e13..967a1369c1f 100644 --- a/packages/flame/lib/src/text/nodes/text_block_node.dart +++ b/packages/flame/lib/src/text/nodes/text_block_node.dart @@ -1,7 +1,6 @@ import 'dart:ui'; import 'package:flame/src/text/common/utils.dart'; -import 'package:flame/src/text/elements/group_element.dart'; import 'package:flame/text.dart'; import 'package:meta/meta.dart'; diff --git a/packages/flame/lib/text.dart b/packages/flame/lib/text.dart index ad08ebefde4..fc52f789842 100644 --- a/packages/flame/lib/text.dart +++ b/packages/flame/lib/text.dart @@ -4,6 +4,7 @@ export 'src/text/common/glyph.dart' show Glyph; export 'src/text/common/line_metrics.dart' show LineMetrics; export 'src/text/common/sprite_font.dart' show SpriteFont; export 'src/text/elements/block_element.dart' show BlockElement; +export 'src/text/elements/group_element.dart' show GroupElement; export 'src/text/elements/inline_text_element.dart' show InlineTextElement; export 'src/text/elements/rect_element.dart' show RectElement; export 'src/text/elements/rrect_element.dart' show RRectElement; diff --git a/packages/flame/test/text/text_element_test.dart b/packages/flame/test/text/text_element_test.dart index b3b842520a9..b8ccdeae484 100644 --- a/packages/flame/test/text/text_element_test.dart +++ b/packages/flame/test/text/text_element_test.dart @@ -1,4 +1,3 @@ -import 'package:flame/src/text/elements/group_element.dart'; import 'package:flame/text.dart'; import 'package:flutter/rendering.dart'; import 'package:test/test.dart'; diff --git a/packages/flame/test/text/text_style_test.dart b/packages/flame/test/text/text_style_test.dart index 8e90c10dbee..5254667b276 100644 --- a/packages/flame/test/text/text_style_test.dart +++ b/packages/flame/test/text/text_style_test.dart @@ -1,4 +1,3 @@ -import 'package:flame/src/text/elements/group_element.dart'; import 'package:flame/src/text/elements/group_text_element.dart'; import 'package:flame/text.dart'; import 'package:flutter/rendering.dart';