| 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 86 of file FlutterPlatformViews.mm.

## Method Documentation

## ◆ initWithFrame:blurRadius:visualEffectView:

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

Definition at line 93 of file FlutterPlatformViews.mm.

95 :(CGRect)frame
96 blurRadius:(CGFloat)blurRadius
97 visualEffectView:(UIVisualEffectView*)visualEffectView {
98 if (self = [super init]) {
99 _frame = frame;
100 _blurRadius = blurRadius;
101 [PlatformViewFilter prepareOnce:visualEffectView];
102 if (![PlatformViewFilter isUIVisualEffectViewImplementationValid]) {
103 FML_DLOG(ERROR) << "Apple's API for UIVisualEffectView changed. Update the implementation to "
104 "access the gaussianBlur CAFilter.";
105 return nil;
106 }
107 _backdropFilterView = visualEffectView;
108 _backdropFilterViewConfigured = NO;
109 }
110 return self;
111 }
PlatformViewFilter
Definition: FlutterPlatformViews.mm:86
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 93 of file FlutterPlatformViews.mm.

113 {
114 _preparedOnce = NO;
115 _gaussianBlurFilter = nil;
116 _indexOfBackdropView = -1;
117 _indexOfVisualEffectSubview = -1;
118 }
_indexOfVisualEffectSubview
static NSInteger _indexOfVisualEffectSubview
Definition: FlutterPlatformViews.mm:92
_indexOfBackdropView
static NSInteger _indexOfBackdropView
Definition: FlutterPlatformViews.mm:90
_preparedOnce
static BOOL _preparedOnce
Definition: FlutterPlatformViews.mm:93
_gaussianBlurFilter
static NSObject * _gaussianBlurFilter
Definition: FlutterPlatformViews.mm:88

## Property Documentation

## ◆ backdropFilterView

- (UIVisualEffectView *) backdropFilterView
| readnonatomicassign

Definition at line 95 of file FlutterPlatformViews_Internal.h.

## ◆ blurRadius

- (CGFloat) blurRadius
| readnonatomicassign

Definition at line 89 of file FlutterPlatformViews_Internal.h.

Referenced by initWithFrame:blurRadius:visualEffectView:.

## ◆ frame

- (CGRect) frame
| readnonatomicassign

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