Flutter macOS Embedder
TestView Class Reference
Inheritance diagram for TestView:
<FlutterSurfaceManagerDelegate>

Instance Methods

(nonnull instancetype) - init
 
- Instance Methods inherited from <FlutterSurfaceManagerDelegate>
(void) - onPresent:withBlock:
 

Properties

CGSize presentedFrameSize
 

Detailed Description

Definition at line 15 of file FlutterSurfaceManagerTest.mm.

Method Documentation

◆ init

- (instancetype) init

Definition at line 24 of file FlutterSurfaceManagerTest.mm.

24  {
25  self = [super initWithFrame:NSZeroRect];
26  if (self) {
27  [self setWantsLayer:YES];
28  self.layer.contentsScale = 2.0;
29  }
30  return self;
31 }

Property Documentation

◆ presentedFrameSize

- (CGSize) presentedFrameSize
readwritenonatomicassign

Definition at line 17 of file FlutterSurfaceManagerTest.mm.

Referenced by flutter::testing::TEST().


The documentation for this class was generated from the following file: