Flutter Engine
The Flutter Engine
|
Public Member Functions | |
FlutterShellArgs (@NonNull String[] args) | |
FlutterShellArgs (@NonNull List< String > args) | |
FlutterShellArgs (@NonNull Set< String > args) | |
void | add (@NonNull String arg) |
void | remove (@NonNull String arg) |
String[] | toArray () |
Static Public Member Functions | |
static FlutterShellArgs | fromIntent (@NonNull Intent intent) |
Static Public Attributes | |
static final String | ARG_KEY_TRACE_STARTUP = "trace-startup" |
static final String | ARG_TRACE_STARTUP = "--trace-startup" |
static final String | ARG_KEY_START_PAUSED = "start-paused" |
static final String | ARG_START_PAUSED = "--start-paused" |
static final String | ARG_KEY_DISABLE_SERVICE_AUTH_CODES = "disable-service-auth-codes" |
static final String | ARG_DISABLE_SERVICE_AUTH_CODES = "--disable-service-auth-codes" |
static final String | ARG_KEY_ENDLESS_TRACE_BUFFER = "endless-trace-buffer" |
static final String | ARG_ENDLESS_TRACE_BUFFER = "--endless-trace-buffer" |
static final String | ARG_KEY_USE_TEST_FONTS = "use-test-fonts" |
static final String | ARG_USE_TEST_FONTS = "--use-test-fonts" |
static final String | ARG_KEY_ENABLE_DART_PROFILING = "enable-dart-profiling" |
static final String | ARG_ENABLE_DART_PROFILING = "--enable-dart-profiling" |
static final String | ARG_KEY_ENABLE_SOFTWARE_RENDERING = "enable-software-rendering" |
static final String | ARG_ENABLE_SOFTWARE_RENDERING = "--enable-software-rendering" |
static final String | ARG_KEY_SKIA_DETERMINISTIC_RENDERING = "skia-deterministic-rendering" |
static final String | ARG_SKIA_DETERMINISTIC_RENDERING = "--skia-deterministic-rendering" |
static final String | ARG_KEY_TRACE_SKIA = "trace-skia" |
static final String | ARG_TRACE_SKIA = "--trace-skia" |
static final String | ARG_KEY_TRACE_SKIA_ALLOWLIST = "trace-skia-allowlist" |
static final String | ARG_TRACE_SKIA_ALLOWLIST = "--trace-skia-allowlist=" |
static final String | ARG_KEY_TRACE_SYSTRACE = "trace-systrace" |
static final String | ARG_TRACE_SYSTRACE = "--trace-systrace" |
static final String | ARG_KEY_TRACE_TO_FILE = "trace-to-file" |
static final String | ARG_TRACE_TO_FILE = "--trace-to-file" |
static final String | ARG_KEY_ENABLE_IMPELLER = "enable-impeller" |
static final String | ARG_ENABLE_IMPELLER = "--enable-impeller" |
static final String | ARG_KEY_ENABLE_VULKAN_VALIDATION = "enable-vulkan-validation" |
static final String | ARG_ENABLE_VULKAN_VALIDATION = "--enable-vulkan-validation" |
static final String | ARG_KEY_DUMP_SHADER_SKP_ON_SHADER_COMPILATION |
static final String | ARG_DUMP_SHADER_SKP_ON_SHADER_COMPILATION |
static final String | ARG_KEY_CACHE_SKSL = "cache-sksl" |
static final String | ARG_CACHE_SKSL = "--cache-sksl" |
static final String | ARG_KEY_PURGE_PERSISTENT_CACHE = "purge-persistent-cache" |
static final String | ARG_PURGE_PERSISTENT_CACHE = "--purge-persistent-cache" |
static final String | ARG_KEY_VERBOSE_LOGGING = "verbose-logging" |
static final String | ARG_VERBOSE_LOGGING = "--verbose-logging" |
static final String | ARG_KEY_VM_SERVICE_PORT = "vm-service-port" |
static final String | ARG_VM_SERVICE_PORT = "--vm-service-port=" |
static final String | ARG_KEY_OBSERVATORY_PORT = "observatory-port" |
static final String | ARG_KEY_DART_FLAGS = "dart-flags" |
static final String | ARG_DART_FLAGS = "--dart-flags" |
Arguments that can be delivered to the Flutter shell when it is created.
The term "shell" refers to the native code that adapts Flutter to different platforms. Flutter's Android Java code initializes a native "shell" and passes these arguments to that native shell when it is initialized. See io.flutter.embedding.engine.loader.FlutterLoader#ensureInitializationComplete(Context, String[])
for more information.
Definition at line 22 of file FlutterShellArgs.java.
|
inline |
Creates a set of Flutter shell arguments from a given String[]
array. The given arguments are automatically de-duplicated.
Definition at line 161 of file FlutterShellArgs.java.
|
inline |
Creates a set of Flutter shell arguments from a given List<String>
. The given arguments are automatically de-duplicated.
Definition at line 169 of file FlutterShellArgs.java.
|
inline |
Creates a set of Flutter shell arguments from a given Set<String>
.
Definition at line 174 of file FlutterShellArgs.java.
|
inline |
Adds the given arg
to this set of arguments.
arg | argument to add |
Definition at line 183 of file FlutterShellArgs.java.
|
inlinestatic |
Definition at line 70 of file FlutterShellArgs.java.
|
inline |
Removes the given arg
from this set of arguments.
arg | argument to remove |
Definition at line 192 of file FlutterShellArgs.java.
|
inline |
Returns a new String[]
array which contains each of the arguments within this
.
FlutterShellArgs
Definition at line 203 of file FlutterShellArgs.java.
|
static |
Definition at line 56 of file FlutterShellArgs.java.
|
static |
Definition at line 67 of file FlutterShellArgs.java.
|
static |
Definition at line 28 of file FlutterShellArgs.java.
|
static |
Definition at line 53 of file FlutterShellArgs.java.
|
static |
Definition at line 34 of file FlutterShellArgs.java.
|
static |
Definition at line 48 of file FlutterShellArgs.java.
|
static |
Definition at line 36 of file FlutterShellArgs.java.
|
static |
Definition at line 50 of file FlutterShellArgs.java.
|
static |
Definition at line 30 of file FlutterShellArgs.java.
|
static |
Definition at line 55 of file FlutterShellArgs.java.
|
static |
Definition at line 66 of file FlutterShellArgs.java.
|
static |
Definition at line 27 of file FlutterShellArgs.java.
|
static |
Definition at line 51 of file FlutterShellArgs.java.
|
static |
Definition at line 33 of file FlutterShellArgs.java.
|
static |
Definition at line 47 of file FlutterShellArgs.java.
|
static |
Definition at line 35 of file FlutterShellArgs.java.
|
static |
Definition at line 49 of file FlutterShellArgs.java.
|
static |
Definition at line 29 of file FlutterShellArgs.java.
|
static |
Definition at line 65 of file FlutterShellArgs.java.
|
static |
Definition at line 57 of file FlutterShellArgs.java.
|
static |
Definition at line 37 of file FlutterShellArgs.java.
|
static |
Definition at line 25 of file FlutterShellArgs.java.
|
static |
Definition at line 39 of file FlutterShellArgs.java.
|
static |
Definition at line 41 of file FlutterShellArgs.java.
|
static |
Definition at line 23 of file FlutterShellArgs.java.
|
static |
Definition at line 43 of file FlutterShellArgs.java.
|
static |
Definition at line 45 of file FlutterShellArgs.java.
|
static |
Definition at line 31 of file FlutterShellArgs.java.
|
static |
Definition at line 59 of file FlutterShellArgs.java.
|
static |
Definition at line 61 of file FlutterShellArgs.java.
|
static |
Definition at line 58 of file FlutterShellArgs.java.
|
static |
Definition at line 38 of file FlutterShellArgs.java.
|
static |
Definition at line 26 of file FlutterShellArgs.java.
|
static |
Definition at line 40 of file FlutterShellArgs.java.
|
static |
Definition at line 42 of file FlutterShellArgs.java.
|
static |
Definition at line 24 of file FlutterShellArgs.java.
|
static |
Definition at line 44 of file FlutterShellArgs.java.
|
static |
Definition at line 46 of file FlutterShellArgs.java.
|
static |
Definition at line 32 of file FlutterShellArgs.java.
|
static |
Definition at line 60 of file FlutterShellArgs.java.
|
static |
Definition at line 62 of file FlutterShellArgs.java.