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 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

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:
_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