diff --git a/lib/ui/text.dart b/lib/ui/text.dart index be0465b048bf5..9655585061974 100644 --- a/lib/ui/text.dart +++ b/lib/ui/text.dart @@ -752,6 +752,7 @@ enum TextDirection { /// A rectangle enclosing a run of text. /// /// This is similar to [Rect] but includes an inherent [TextDirection]. +@pragma('vm:entry-point') class TextBox { /// Creates an object that describes a box containing text. const TextBox.fromLTRBD(