From c9c0f691412bb026c1d766ec7b424a468f8929f7 Mon Sep 17 00:00:00 2001 From: Luan Nico Date: Thu, 26 Dec 2024 16:48:31 -0500 Subject: [PATCH] fix: Add missing export of GroupTextElement to text.dart (#3424) Add missing export of GroupTextElement to text.dart --- packages/flame/lib/src/text/nodes/group_text_node.dart | 1 - packages/flame/lib/text.dart | 1 + packages/flame/test/text/text_style_test.dart | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/flame/lib/src/text/nodes/group_text_node.dart b/packages/flame/lib/src/text/nodes/group_text_node.dart index 725c149349d..1cdfe97aaeb 100644 --- a/packages/flame/lib/src/text/nodes/group_text_node.dart +++ b/packages/flame/lib/src/text/nodes/group_text_node.dart @@ -1,4 +1,3 @@ -import 'package:flame/src/text/elements/group_text_element.dart'; import 'package:flame/src/text/nodes/inline_text_node.dart'; import 'package:flame/text.dart'; diff --git a/packages/flame/lib/text.dart b/packages/flame/lib/text.dart index fc52f789842..60c65ccb92e 100644 --- a/packages/flame/lib/text.dart +++ b/packages/flame/lib/text.dart @@ -5,6 +5,7 @@ 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/group_text_element.dart' show GroupTextElement; 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_style_test.dart b/packages/flame/test/text/text_style_test.dart index 5254667b276..850eb50d1a3 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_text_element.dart'; import 'package:flame/text.dart'; import 'package:flutter/rendering.dart'; import 'package:test/test.dart';