Skip to content

Commit

Permalink
fix: Add missing export of GroupElement to text.dart (flame-engine#3423)
Browse files Browse the repository at this point in the history
Add missing export of GroupElement to text.dart
  • Loading branch information
luanpotter authored Dec 26, 2024
1 parent 994e098 commit c0c4bb0
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion packages/flame/lib/src/text/common/utils.dart
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
1 change: 0 additions & 1 deletion packages/flame/lib/src/text/nodes/column_node.dart
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
1 change: 0 additions & 1 deletion packages/flame/lib/src/text/nodes/document_root.dart
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
1 change: 0 additions & 1 deletion packages/flame/lib/src/text/nodes/text_block_node.dart
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
1 change: 1 addition & 0 deletions packages/flame/lib/text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion packages/flame/test/text/text_element_test.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
1 change: 0 additions & 1 deletion packages/flame/test/text/text_style_test.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit c0c4bb0

Please sign in to comment.