Flutter Engine
The Flutter Engine
Instance Methods | Properties | List of all members
FlutterPlatformViewsTestMockFlutterPlatformView Class Reference
Inheritance diagram for FlutterPlatformViewsTestMockFlutterPlatformView:
<FlutterPlatformView>

Instance Methods

(instancetype) - init [implementation]
 
(void) - checkViewCreatedOnce [implementation]
 
- Instance Methods inherited from <FlutterPlatformView>
(UIView *) - view
 

Properties

UIView * view
 
BOOL viewCreated
 

Detailed Description

Definition at line 41 of file FlutterPlatformViewsTest.mm.

Method Documentation

◆ checkViewCreatedOnce

- (void) checkViewCreatedOnce
implementation

Definition at line 43 of file FlutterPlatformViewsTest.mm.

61 {
62 if (self.viewCreated) {
63 abort();
64 }
65 self.viewCreated = YES;
66}

◆ init

- (instancetype) init
implementation

Definition at line 43 of file FlutterPlatformViewsTest.mm.

48 {
49 if (self = [super init]) {
50 _view = [[FlutterPlatformViewsTestMockPlatformView alloc] init];
51 _viewCreated = NO;
52 }
53 return self;
54}
BOOL _viewCreated

Property Documentation

◆ view

- (UIView *) view
readwritenonatomicstrong

Definition at line 42 of file FlutterPlatformViewsTest.mm.

◆ viewCreated

- (BOOL) viewCreated
readwritenonatomicassign

Definition at line 43 of file FlutterPlatformViewsTest.mm.


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