Flutter iOS Embedder
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 60 of file FlutterPlatformViews.mm.

Method Documentation

◆ initWithFrame:blurRadius:visualEffectView:

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

Definition at line 69 of file FlutterPlatformViews.mm.

69  :(CGRect)frame
70  blurRadius:(CGFloat)blurRadius
71  visualEffectView:(UIVisualEffectView*)visualEffectView {
72  if (self = [super init]) {
73  _frame = frame;
74  _blurRadius = blurRadius;
75  [PlatformViewFilter prepareOnce:visualEffectView];
76  if (![PlatformViewFilter isUIVisualEffectViewImplementationValid]) {
77  FML_DLOG(ERROR) << "Apple's API for UIVisualEffectView changed. Update the implementation to "
78  "access the gaussianBlur CAFilter.";
79  return nil;
80  }
81  _backdropFilterView = visualEffectView;
82  _backdropFilterViewConfigured = NO;
83  }
84  return self;
85 }

References blurRadius, and frame.

◆ NS_UNAVAILABLE

- (instancetype) NS_UNAVAILABLE

◆ resetPreparation

+ (void) resetPreparation

Property Documentation

◆ backdropFilterView

- (UIVisualEffectView *) backdropFilterView
readnonatomicassign

◆ blurRadius

- (CGFloat) blurRadius
readnonatomicassign

◆ frame

- (CGRect) frame
readnonatomicassign

The documentation for this class was generated from the following files:
PlatformViewFilter
Definition: FlutterPlatformViews.mm:60
PlatformViewFilter::frame
CGRect frame
Definition: FlutterPlatformViews_Internal.h:84
_indexOfVisualEffectSubview
static NSInteger _indexOfVisualEffectSubview
Definition: FlutterPlatformViews.mm:66
PlatformViewFilter::blurRadius
CGFloat blurRadius
Definition: FlutterPlatformViews_Internal.h:89
_gaussianBlurFilter
static NSObject * _gaussianBlurFilter
Definition: FlutterPlatformViews.mm:62
_indexOfBackdropView
static NSInteger _indexOfBackdropView
Definition: FlutterPlatformViews.mm:64
_preparedOnce
static BOOL _preparedOnce
Definition: FlutterPlatformViews.mm:67