Class FlutterShellArgs
java.lang.Object
io.flutter.embedding.engine.FlutterShellArgs
Deprecated.
DEPRECATED. Please see
FlutterEngineFlags for the list
of arguments to use or update if you are adding a new flag.
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 FlutterLoader.ensureInitializationComplete(Context, String[])
for more information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.Engine shell argument emitted whenARG_KEY_ENABLE_FLUTTER_GPUis set.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.Intent extra key that opts the engine into the Flutter GPU API.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionFlutterShellArgs(String[] args) Deprecated.Creates a set of Flutter shell arguments from a givenString[]array.FlutterShellArgs(List<String> args) Deprecated.Creates a set of Flutter shell arguments from a givenList<String>.FlutterShellArgs(Set<String> args) Deprecated.Creates a set of Flutter shell arguments from a givenSet<String>. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Adds the givenargto this set of arguments.static FlutterShellArgsfromIntent(Intent intent) Deprecated.voidDeprecated.Removes the givenargfrom this set of arguments.String[]toArray()Deprecated.Returns a newString[]array which contains each of the arguments within thisFlutterShellArgs.
-
Field Details
-
ARG_KEY_TRACE_STARTUP
-
ARG_TRACE_STARTUP
-
ARG_KEY_START_PAUSED
-
ARG_START_PAUSED
-
ARG_KEY_DISABLE_SERVICE_AUTH_CODES
-
ARG_DISABLE_SERVICE_AUTH_CODES
-
ARG_KEY_ENDLESS_TRACE_BUFFER
-
ARG_ENDLESS_TRACE_BUFFER
-
ARG_KEY_USE_TEST_FONTS
-
ARG_USE_TEST_FONTS
-
ARG_KEY_ENABLE_DART_PROFILING
-
ARG_ENABLE_DART_PROFILING
-
ARG_KEY_PROFILE_STARTUP
-
ARG_PROFILE_STARTUP
-
ARG_KEY_ENABLE_SOFTWARE_RENDERING
-
ARG_ENABLE_SOFTWARE_RENDERING
-
ARG_KEY_SKIA_DETERMINISTIC_RENDERING
-
ARG_SKIA_DETERMINISTIC_RENDERING
-
ARG_KEY_TRACE_SKIA
-
ARG_TRACE_SKIA
-
ARG_KEY_TRACE_SKIA_ALLOWLIST
-
ARG_TRACE_SKIA_ALLOWLIST
-
ARG_KEY_TRACE_SYSTRACE
-
ARG_TRACE_SYSTRACE
-
ARG_KEY_TRACE_TO_FILE
-
ARG_TRACE_TO_FILE
-
ARG_KEY_PROFILE_MICROTASKS
-
ARG_PROFILE_MICROTASKS
-
ARG_KEY_TOGGLE_IMPELLER
-
ARG_ENABLE_IMPELLER
-
ARG_DISABLE_IMPELLER
-
ARG_KEY_ENABLE_FLUTTER_GPU
Deprecated.Intent extra key that opts the engine into the Flutter GPU API.- See Also:
-
ARG_ENABLE_FLUTTER_GPU
-
ARG_KEY_ENABLE_VULKAN_VALIDATION
-
ARG_ENABLE_VULKAN_VALIDATION
-
ARG_KEY_ENABLE_HCPP_AND_SURFACE_CONTROL
-
ARG_ENABLE_HCPP_AND_SURFACE_CONTROL
-
ARG_DISABLE_HCPP_AND_SURFACE_CONTROL
-
ARG_KEY_DUMP_SHADER_SKP_ON_SHADER_COMPILATION
-
ARG_DUMP_SHADER_SKP_ON_SHADER_COMPILATION
-
ARG_KEY_CACHE_SKSL
-
ARG_CACHE_SKSL
-
ARG_KEY_PURGE_PERSISTENT_CACHE
-
ARG_PURGE_PERSISTENT_CACHE
-
ARG_KEY_VERBOSE_LOGGING
-
ARG_VERBOSE_LOGGING
-
ARG_KEY_VM_SERVICE_PORT
-
ARG_VM_SERVICE_PORT
-
ARG_KEY_DART_FLAGS
-
ARG_DART_FLAGS
-
-
Constructor Details
-
FlutterShellArgs
Deprecated.Creates a set of Flutter shell arguments from a givenString[]array. The given arguments are automatically de-duplicated. -
FlutterShellArgs
-
FlutterShellArgs
-
-
Method Details
-
fromIntent
Deprecated. -
add
Deprecated.Adds the givenargto this set of arguments.- Parameters:
arg- argument to add
-
remove
Deprecated.Removes the givenargfrom this set of arguments.- Parameters:
arg- argument to remove
-
toArray
Deprecated.Returns a newString[]array which contains each of the arguments within thisFlutterShellArgs.- Returns:
- array of arguments
-