Flutter macOS Embedder
FlutterMutatorView Class Reference

#import <FlutterMutatorView.h>

Inheritance diagram for FlutterMutatorView:

Instance Methods

(nonnull instancetype) - initWithPlatformView:
 Designated initializer. More...
 
(void) - applyFlutterLayer:
 

Properties

NSView * platformView
 Returns wrapped platform view. More...
 

Detailed Description

FlutterMutatorView contains platform view and is responsible for applying FlutterLayer mutations to it.

Definition at line 11 of file FlutterMutatorView.h.

Method Documentation

◆ applyFlutterLayer:

- (void) applyFlutterLayer: (nonnull const FlutterLayer *)  layer

Applies mutations from FlutterLayer to the platform view. This may involve creating or removing intermediate subviews depending on current state and requested mutations.

◆ initWithPlatformView:

- (nonnull instancetype) initWithPlatformView: (nonnull NSView *)  platformView

Designated initializer.

Property Documentation

◆ platformView

- (NSView *) platformView
readatomicassign

Returns wrapped platform view.

Definition at line 17 of file FlutterMutatorView.h.

Referenced by TEST().


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