Add missing entry-points. (flutter/engine#6634)
* Add missing entry-points. * Fix lint
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -1017,6 +1017,7 @@ enum BoxWidthStyle {
|
||||
///
|
||||
/// 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.
|
||||
|
||||
Reference in New Issue
Block a user