| Flutter macOS Embedder |

Instance Methods | List of all members
FlutterViewWrapper Class Reference
Inheritance diagram for FlutterViewWrapper:

## Instance Methods
(void) | - setBackgroundColor:

## Detailed Description

FlutterViewWrapper is a convenience class that wraps a FlutterView and provides a mechanism to attach AppKit views such as FlutterTextField without affecting the accessibility subtree of the wrapped FlutterView itself.

The FlutterViewController uses this class to create its content view. When any of the accessibility services (e.g. VoiceOver) is turned on, the accessibility bridge creates FlutterTextFields that interact with the service. The bridge has to attach the FlutterTextField somewhere in the view hierarchy in order for the FlutterTextField to interact correctly with VoiceOver. Those FlutterTextFields will be attached to this view so that they won't affect the accessibility subtree of FlutterView.

Definition at line 152 of file FlutterViewController.mm.

## Method Documentation

## ◆ setBackgroundColor:

- (void) setBackgroundColor: |  | (NSColor*) | color |

Definition at line 212 of file FlutterViewController.mm.

227 :(NSColor*)color {
228 [_flutterView setBackgroundColor:color];
229 }

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

- shell/platform/darwin/macos/framework/Source/FlutterViewController.mm