| Flutter iOS Embedder |

Instance Methods | Class Methods | Properties | List of all members
PlatformViewFilter Class Reference

`#import <FlutterPlatformViews_Internal.h>`

Inheritance diagram for PlatformViewFilter:

## Instance Methods
(instancetype) | - NS_UNAVAILABLE
(instancetype) | - initWithFrame:blurRadius:visualEffectView:

## Class Methods
(void) | + resetPreparation

## Properties
CGRect | frame
CGFloat | blurRadius
UIVisualEffectView * | backdropFilterView

## Detailed Description

Definition at line 91 of file FlutterPlatformViews.mm.

## Method Documentation

## ◆ initWithFrame:blurRadius:visualEffectView:

- (instancetype) initWithFrame: |  | (CGRect) | frame
blurRadius: |  | (CGFloat) | blurRadius
visualEffectView: |  | (UIVisualEffectView*) | NS_DESIGNATED_INITIALIZER

Definition at line 98 of file FlutterPlatformViews.mm.

100 :(CGRect)frame
101 blurRadius:(CGFloat)blurRadius
102 visualEffectView:(UIVisualEffectView*)visualEffectView {
103 if (self = [super init]) {
104 _frame = frame;
105 _blurRadius = blurRadius;
106 [PlatformViewFilter prepareOnce:visualEffectView];
107 if (![PlatformViewFilter isUIVisualEffectViewImplementationValid]) {
108 FML_DLOG(ERROR) << "Apple's API for UIVisualEffectView changed. Update the implementation to "
109 "access the gaussianBlur CAFilter.";
110 return nil;
111 }
112 _backdropFilterView = visualEffectView;
113 _backdropFilterViewConfigured = NO;
114 }
115 return self;
116 }
PlatformViewFilter
Definition: FlutterPlatformViews.mm:91
PlatformViewFilter::blurRadius
CGFloat blurRadius
Definition: FlutterPlatformViews_Internal.h:89
PlatformViewFilter::frame
CGRect frame
Definition: FlutterPlatformViews_Internal.h:84

References blurRadius, and frame.

## ◆ NS_UNAVAILABLE

- (instancetype) NS_UNAVAILABLE |  |  |

## ◆ resetPreparation

+ (void) resetPreparation |  |  |

Definition at line 98 of file FlutterPlatformViews.mm.

118 {
119 _preparedOnce = NO;
120 _gaussianBlurFilter = nil;
121 _indexOfBackdropView = -1;
122 _indexOfVisualEffectSubview = -1;
123 }
_indexOfVisualEffectSubview
static NSInteger _indexOfVisualEffectSubview
Definition: FlutterPlatformViews.mm:97
_indexOfBackdropView
static NSInteger _indexOfBackdropView
Definition: FlutterPlatformViews.mm:95
_preparedOnce
static BOOL _preparedOnce
Definition: FlutterPlatformViews.mm:98
_gaussianBlurFilter
static NSObject * _gaussianBlurFilter
Definition: FlutterPlatformViews.mm:93

## Property Documentation

## ◆ backdropFilterView

- (UIVisualEffectView *) backdropFilterView
| read nonatomic assign

Definition at line 95 of file FlutterPlatformViews_Internal.h.

## ◆ blurRadius

- (CGFloat) blurRadius
| read nonatomic assign

Definition at line 89 of file FlutterPlatformViews_Internal.h.

Referenced by initWithFrame:blurRadius:visualEffectView:.

## ◆ frame

- (CGRect) frame
| read nonatomic assign

Definition at line 84 of file FlutterPlatformViews_Internal.h.

Referenced by initWithFrame:blurRadius:visualEffectView:.

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

- shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm
- shell/platform/darwin/ios/framework/Source/FlutterPlatformViews_Internal.h