Package io.flutter.embedding.engine
Class FlutterEngineFlags.Flag
java.lang.Object
io.flutter.embedding.engine.FlutterEngineFlags.Flag
- Enclosing class:
FlutterEngineFlags
Represents a Flutter shell flag that can be set via manifest metadata or command line.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the command line flag requires a value to be specified.
-
Field Details
-
engineArgument
The actual argument used to specify the flag in the engine. -
metadataKey
The metadata key name used to specify the flag in AndroidManifest.xml.To specify a flag in a manifest, it should be prefixed with
io.flutter.embedding.android.. This is enforced to avoid potential naming collisions with other metadata keys. The only exception are flags that have already been deprecated. -
allowedInRelease
public final boolean allowedInReleaseWhether this flag is allowed to be set in release mode.
-
-
Method Details
-
hasCommandLineValue
public boolean hasCommandLineValue()Returns true if the command line flag requires a value to be specified.
-