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

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