BloomFeatures class

Feature flags and subsystem toggles declared in bloom.yaml.

Controls which core framework modules (routing, signals state, data queries, native plugins) are enabled for the application build.

Example:

final features = BloomFeatures(
  routing: true,
  state: true,
  data: true,
  native: true,
);

Constructors

BloomFeatures({bool routing = true, bool state = true, bool data = false, bool native = false})
Creates a BloomFeatures configuration.
const
BloomFeatures.fromMap(Map map)
Constructs a BloomFeatures configuration from a parsed map.
factory

Properties

data bool
Whether the data querying and caching module is enabled.
final
hashCode int
The hash code for this object.
no setterinherited
native bool
Whether the native hardware bridge module is enabled.
final
routing bool
Whether the declarative routing module is enabled.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state bool
Whether the reactive signals state module is enabled.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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