#include <FlutterMutatorView.h>
Instance Methods | |
| (nonnull instancetype) | - initWithPlatformView:cursorCoordiator: |
| Designated initializer. | |
| (nonnull instancetype) | - initWithPlatformView: |
| (void) | - applyFlutterLayer: |
| (void) | - resetHitTestRegion |
| Resets hit hit testing region for this mutator view. | |
| (void) | - addHitTestIgnoreRegion: |
Properties | |
| NSView * | platformView |
| Returns wrapped platform view. | |
FlutterMutatorView contains platform view and is responsible for applying FlutterLayer mutations to it.
Definition at line 63 of file FlutterMutatorView.h.
| - (void) addHitTestIgnoreRegion: | (CGRect) | region |
Adds rectangle (in local vie coordinates) to hit test ignore region (part of view obscured by Flutter contents).
Definition at line 417 of file FlutterMutatorView.mm.
Referenced by TEST().
| - (void) applyFlutterLayer: | (nonnull const flutter::PlatformViewLayer *) | layer |
Applies mutations from FlutterLayer to the platform view. This may involve creating or removing intermediate subviews depending on current state and requested mutations.
| - (nonnull instancetype) initWithPlatformView: | (nonnull NSView *) | platformView |
| - (nonnull instancetype) initWithPlatformView: | (nonnull NSView *) | platformView | |
| cursorCoordiator: | (nullable FlutterCursorCoordinator *) | coordinator | |
Designated initializer.
| - (void) resetHitTestRegion |
Resets hit hit testing region for this mutator view.
Definition at line 417 of file FlutterMutatorView.mm.
Referenced by TEST().
|
readatomicassign |
Returns wrapped platform view.
Definition at line 72 of file FlutterMutatorView.h.