| 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 80 of file FlutterPlatformViews_Internal.h.

## Method Documentation

## ◆ initWithFrame:blurRadius:visualEffectView:

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

Definition at line 97 of file FlutterPlatformViews_Internal.mm.

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

References blurRadius, and frame.

## ◆ NS_UNAVAILABLE

- (instancetype) NS_UNAVAILABLE |  |  |

## ◆ resetPreparation

+ (void) resetPreparation |  |  |

Definition at line 115 of file FlutterPlatformViews_Internal.mm.

115 {
116 _preparedOnce = NO;
117 _gaussianBlurFilter = nil;
118 _indexOfBackdropView = -1;
119 _indexOfVisualEffectSubview = -1;
120 }

References _gaussianBlurFilter, _indexOfBackdropView, _indexOfVisualEffectSubview, and _preparedOnce.

## Property Documentation

## ◆ backdropFilterView

- (UIVisualEffectView *) backdropFilterView
| read nonatomic assign

Definition at line 95 of file FlutterPlatformViews_Internal.h.

Referenced by ChildClippingView::applyBlurBackdropFilters:.

## ◆ 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_Internal.h
- shell/platform/darwin/ios/framework/Source/FlutterPlatformViews_Internal.mm

_gaussianBlurFilter
static NSObject * _gaussianBlurFilter
Definition: FlutterPlatformViews_Internal.mm:90
PlatformViewFilter::frame
CGRect frame
Definition: FlutterPlatformViews_Internal.h:84
_indexOfVisualEffectSubview
static NSInteger _indexOfVisualEffectSubview
Definition: FlutterPlatformViews_Internal.mm:94
_preparedOnce
static BOOL _preparedOnce
Definition: FlutterPlatformViews_Internal.mm:95
PlatformViewFilter::blurRadius
CGFloat blurRadius
Definition: FlutterPlatformViews_Internal.h:89
_indexOfBackdropView
static NSInteger _indexOfBackdropView
Definition: FlutterPlatformViews_Internal.mm:92
PlatformViewFilter
Definition: FlutterPlatformViews_Internal.h:80