Class FlutterEngineFlags.Flag

java.lang.Object
io.flutter.embedding.engine.FlutterEngineFlags.Flag
Enclosing class:
FlutterEngineFlags

public static class FlutterEngineFlags.Flag extends Object
Represents a Flutter shell flag that can be set via manifest metadata or command line.
  • Field Details

    • engineArgument

      public final String engineArgument
      The actual argument used to specify the flag in the engine.
    • metadataKey

      public final String 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 allowedInRelease
      Whether 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.