diff --git a/lib/ui/compositing.dart b/lib/ui/compositing.dart index 935a1665248da..b4e22cf7ab07f 100644 --- a/lib/ui/compositing.dart +++ b/lib/ui/compositing.dart @@ -10,6 +10,7 @@ part of dart.ui; /// /// Scene objects can be displayed on the screen using the /// [Window.render] method. +@pragma('vm:entry-point') class Scene extends NativeFieldWrapperClass2 { /// This class is created by the engine, and should not be instantiated /// or extended directly. diff --git a/lib/ui/painting.dart b/lib/ui/painting.dart index 98a6a4dfb1ad6..032a7047daafa 100644 --- a/lib/ui/painting.dart +++ b/lib/ui/painting.dart @@ -1503,6 +1503,7 @@ class _ImageInfo { /// /// To draw an [Image], use one of the methods on the [Canvas] class, such as /// [Canvas.drawImage]. +@pragma('vm:entry-point') class Image extends NativeFieldWrapperClass2 { /// This class is created by the engine, and should not be instantiated /// or extended directly. @@ -1550,6 +1551,7 @@ typedef ImageDecoderCallback = void Function(Image result); /// /// To obtain an instance of the [FrameInfo] interface, see /// [Codec.getNextFrame]. +@pragma('vm:entry-point') class FrameInfo extends NativeFieldWrapperClass2 { /// This class is created by the engine, and should not be instantiated /// or extended directly. @@ -1568,6 +1570,7 @@ class FrameInfo extends NativeFieldWrapperClass2 { } /// A handle to an image codec. +@pragma('vm:entry-point') class Codec extends NativeFieldWrapperClass2 { /// This class is created by the engine, and should not be instantiated /// or extended directly. @@ -1762,6 +1765,7 @@ enum PathOperation { } /// A handle for the framework to hold and retain an engine layer across frames. +@pragma('vm:entry-point') class EngineLayer extends NativeFieldWrapperClass2 { /// This class is created by the engine, and should not be instantiated /// or extended directly. @@ -1786,6 +1790,7 @@ class EngineLayer extends NativeFieldWrapperClass2 { /// /// Paths can be drawn on canvases using [Canvas.drawPath], and can /// used to create clip regions using [Canvas.clipPath]. +@pragma('vm:entry-point') class Path extends NativeFieldWrapperClass2 { /// Create a new empty [Path] object. @pragma('vm:entry-point') @@ -3580,6 +3585,7 @@ class Canvas extends NativeFieldWrapperClass2 { /// A [Picture] can be placed in a [Scene] using a [SceneBuilder], via /// the [SceneBuilder.addPicture] method. A [Picture] can also be /// drawn into a [Canvas], using the [Canvas.drawPicture] method. +@pragma('vm:entry-point') class Picture extends NativeFieldWrapperClass2 { /// This class is created by the engine, and should not be instantiated /// or extended directly. diff --git a/lib/ui/text.dart b/lib/ui/text.dart index 664cbaedef276..b6bbbe101ca92 100644 --- a/lib/ui/text.dart +++ b/lib/ui/text.dart @@ -956,6 +956,7 @@ class ParagraphConstraints { /// /// Paragraphs can be displayed on a [Canvas] using the [Canvas.drawParagraph] /// method. +@pragma('vm:entry-point') class Paragraph extends NativeFieldWrapperClass2 { /// This class is created by the engine, and should not be instantiated /// or extended directly.