Flutter Engine
FlutterSwitchSemanticsObject Class Reference

#import <SemanticsObject.h>

Inheritance diagram for FlutterSwitchSemanticsObject:

Instance Methods

(instancetype) - initWithSemanticsObject:

Detailed Description

A proxy class for SemanticsObject and UISwitch. For most Accessibility and SemanticsObject methods it delegates to the semantics object, otherwise it sends messages to the UISwitch.

Definition at line 155 of file SemanticsObject.h.

Method Documentation

◆ initWithSemanticsObject:()

- (instancetype) initWithSemanticsObject: (SemanticsObject*)  semanticsObject
Initial value:

Definition at line 43 of file SemanticsObject.mm.

References id, flutter::kIsChecked, and flutter::kIsToggled.

43  :(SemanticsObject*)semanticsObject {
44  self = [super init];
45  if (self) {
46  _semanticsObject = [semanticsObject retain];
47  }
48  return self;
49 }

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