NativeMode enum

Native execution mode for Bloom projects.

Determines whether Bloom automatically generates and manages underlying native platform project directories (NativeMode.managed) or exposes full platform project sources for direct customization (NativeMode.bare).

Example:

const mode = NativeMode.managed;
print(mode.toJson()); // 'managed'
Inheritance
Available extensions

Values

managed → const NativeMode

Managed execution mode where Bloom handles native build files and manifests automatically.

bare → const NativeMode

Bare execution mode where native iOS and Android projects are fully exposed and customized.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Serializes the native mode identifier to a JSON-compatible string.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromString(String value) NativeMode
Parses a NativeMode from a string value, defaulting to NativeMode.managed if unrecognized.

Constants

values → const List<NativeMode>
A constant List of the values in this enum, in order of their declaration.