Flutter Engine
The Flutter Engine
FlutterSemanticsScrollView.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERSEMANTICSSCROLLVIEW_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERSEMANTICSSCROLLVIEW_H_
7
8#import <UIKit/UIKit.h>
9
11@class SemanticsObject;
12
13/**
14 * A UIScrollView to represent Flutter scrollable in iOS accessibility
15 * services.
16 *
17 * This class is hidden from the user and can't be interacted with. It
18 * sends all of selector calls from accessibility services to the
19 * owner SemanticsObject.
20 */
21@interface FlutterSemanticsScrollView : UIScrollView
22
23@property(nonatomic, weak, nullable) SemanticsObject* semanticsObject;
24
25- (instancetype)init NS_UNAVAILABLE;
26- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
27- (instancetype)initWithCoder:(NSCoder*)coder NS_UNAVAILABLE;
28- (instancetype)initWithSemanticsObject:(SemanticsObject*)semanticsObject;
29
30@end
32#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERSEMANTICSSCROLLVIEW_H_
#define NS_ASSUME_NONNULL_BEGIN
Definition: FlutterMacros.h:19
#define NS_ASSUME_NONNULL_END
Definition: FlutterMacros.h:20
double frame
Definition: examples.cpp:31
instancetype initWithFrame
instancetype initWithCoder
static bool init()