Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 3eec4ee

Browse files
committed
Remove private constructors for wrapped classes
1 parent f55b0ab commit 3eec4ee

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/ui/compositing.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Scene extends NativeFieldWrapperClass2 {
1717
///
1818
/// To create a Scene object, use a [SceneBuilder].
1919
@pragma('vm:entry-point')
20-
Scene._();
20+
Scene();
2121

2222
/// Creates a raster image representation of the current state of the scene.
2323
/// This is a slow operation that is performed on a background thread.

lib/ui/painting.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,7 +1865,7 @@ class EngineLayer extends NativeFieldWrapperClass2 {
18651865
/// This class is created by the engine, and should not be instantiated
18661866
/// or extended directly.
18671867
@pragma('vm:entry-point')
1868-
EngineLayer._();
1868+
EngineLayer();
18691869
}
18701870

18711871
/// A complex, one-dimensional subset of a plane.
@@ -4099,7 +4099,7 @@ class Picture extends NativeFieldWrapperClass2 {
40994099
///
41004100
/// To create a [Picture], use a [PictureRecorder].
41014101
@pragma('vm:entry-point')
4102-
Picture._();
4102+
Picture();
41034103

41044104
/// Creates an image from this picture.
41054105
///

lib/ui/semantics.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ class SemanticsUpdate extends NativeFieldWrapperClass2 {
820820
///
821821
/// To create a SemanticsUpdate object, use a [SemanticsUpdateBuilder].
822822
@pragma('vm:entry-point')
823-
SemanticsUpdate._();
823+
SemanticsUpdate();
824824

825825
/// Releases the resources used by this semantics update.
826826
///

0 commit comments

Comments
 (0)