| 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 84 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 60 of file FlutterPlatformViews_Internal.mm.

60 :(CGRect)frame
61 blurRadius:(CGFloat)blurRadius
62 visualEffectView:(UIVisualEffectView*)visualEffectView {
63 if (self = [super init]) {
64 _frame = frame;
65 _blurRadius = blurRadius;
66 [PlatformViewFilter prepareOnce:visualEffectView];
67 if (![PlatformViewFilter isUIVisualEffectViewImplementationValid]) {
68 FML_DLOG(ERROR) << "Apple's API for UIVisualEffectView changed. Update the implementation to "
69 "access the gaussianBlur CAFilter.";
70 return nil;
71 }
72 _backdropFilterView = visualEffectView;
73 _backdropFilterViewConfigured = NO;
74 }
75 return self;
76 }

References blurRadius, and frame.

## ◆ NS_UNAVAILABLE

- (instancetype) NS_UNAVAILABLE |  |  |

## ◆ resetPreparation

+ (void) resetPreparation |  |  |

Definition at line 78 of file FlutterPlatformViews_Internal.mm.

78 {
79 _preparedOnce = NO;
80 _gaussianBlurFilter = nil;
81 _indexOfBackdropView = -1;
82 _indexOfVisualEffectSubview = -1;
83 }

References _gaussianBlurFilter, _indexOfBackdropView, _indexOfVisualEffectSubview, and _preparedOnce.

## Property Documentation

## ◆ backdropFilterView

- (UIVisualEffectView *) backdropFilterView
| read nonatomic assign

Definition at line 99 of file FlutterPlatformViews_Internal.h.

Referenced by ChildClippingView::applyBlurBackdropFilters:.

## ◆ blurRadius

- (CGFloat) blurRadius
| read nonatomic assign

Definition at line 93 of file FlutterPlatformViews_Internal.h.

Referenced by initWithFrame:blurRadius:visualEffectView:.

## ◆ frame

- (CGRect) frame
| read nonatomic assign

Definition at line 88 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:53
PlatformViewFilter::frame
CGRect frame
Definition: FlutterPlatformViews_Internal.h:88
_indexOfVisualEffectSubview
static NSInteger _indexOfVisualEffectSubview
Definition: FlutterPlatformViews_Internal.mm:57
_preparedOnce
static BOOL _preparedOnce
Definition: FlutterPlatformViews_Internal.mm:58
PlatformViewFilter::blurRadius
CGFloat blurRadius
Definition: FlutterPlatformViews_Internal.h:93
_indexOfBackdropView
static NSInteger _indexOfBackdropView
Definition: FlutterPlatformViews_Internal.mm:55
PlatformViewFilter
Definition: FlutterPlatformViews_Internal.h:84