#import <FlutterPlatformViews_Internal.h>
Definition at line 187 of file FlutterPlatformViews.mm.
◆ applyBlurBackdropFilters:
Definition at line 183 of file FlutterPlatformViews.mm.
201 :(NSArray<PlatformViewFilter*>*)filters {
202 FML_DCHECK(
self.filters.count ==
self.backdropFilterSubviews.count);
203 if (
self.filters.count == 0 && filters.count == 0) {
206 self.filters = filters;
207 NSUInteger index = 0;
208 for (index = 0; index <
self.filters.count; index++) {
209 UIVisualEffectView* backdropFilterView;
212 backdropFilterView = filter.backdropFilterView;
213 [self addSubview:backdropFilterView];
214 [self.backdropFilterSubviews addObject:backdropFilterView];
216 [filter updateVisualEffectView:self.backdropFilterSubviews[index]];
220 [self.backdropFilterSubviews[i - 1] removeFromSuperview];
221 [self.backdropFilterSubviews removeLastObject];
NSMutableArray * backdropFilterSubviews()
◆ backdropFilterSubviews
| - (NSMutableArray *) backdropFilterSubviews |
|
|
|
Definition at line 183 of file FlutterPlatformViews.mm.
226 if (!_backdropFilterSubviews) {
227 _backdropFilterSubviews = [[NSMutableArray alloc] init];
229 return _backdropFilterSubviews;
The documentation for this class was generated from the following files: