Flutter Engine
 
Loading...
Searching...
No Matches
FlutterDartProject_Internal.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERDARTPROJECT_INTERNAL_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERDARTPROJECT_INTERNAL_H_
7
13
15
16flutter::Settings FLTDefaultSettingsForBundle(NSBundle* _Nullable bundle = nil,
17 NSProcessInfo* _Nullable processInfoOrNil = nil);
18
19@interface FlutterDartProject ()
20
21@property(nonatomic, readonly) BOOL isWideGamutEnabled;
22
23/**
24 * This is currently used for *only for tests* to override settings.
25 */
26- (instancetype)initWithSettings:(const flutter::Settings&)settings;
27- (const flutter::Settings&)settings;
28- (const flutter::PlatformData)defaultPlatformData;
29
30- (flutter::RunConfiguration)runConfiguration;
31- (flutter::RunConfiguration)runConfigurationForEntrypoint:(nullable NSString*)entrypointOrNil;
32- (flutter::RunConfiguration)runConfigurationForEntrypoint:(nullable NSString*)entrypointOrNil
33 libraryOrNil:(nullable NSString*)dartLibraryOrNil;
34- (flutter::RunConfiguration)runConfigurationForEntrypoint:(nullable NSString*)entrypointOrNil
35 libraryOrNil:(nullable NSString*)dartLibraryOrNil
36 entrypointArgs:
37 (nullable NSArray<NSString*>*)entrypointArgs;
38
39+ (NSString*)flutterAssetsName:(NSBundle*)bundle;
40+ (NSString*)domainNetworkPolicy:(NSDictionary*)appTransportSecurity;
41+ (bool)allowsArbitraryLoads:(NSDictionary*)appTransportSecurity;
42
43@end
44
46
47#endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_FLUTTERDARTPROJECT_INTERNAL_H_
#define NS_ASSUME_NONNULL_BEGIN
#define NS_ASSUME_NONNULL_END
NS_ASSUME_NONNULL_BEGIN flutter::Settings FLTDefaultSettingsForBundle(NSBundle *_Nullable bundle=nil, NSProcessInfo *_Nullable processInfoOrNil=nil)
int BOOL