BloomPlatforms class

Target platforms configuration declared in bloom.yaml.

Contains SDK targets, package identifiers, and platform metadata for Android, iOS, and Web.

Example:

final platforms = BloomPlatforms(
  androidMinSdk: 24,
  androidTargetSdk: 34,
  androidPackage: 'com.example.app',
  iosMinVersion: '15.0',
  iosBundleIdentifier: 'com.example.app',
  webTitle: 'Bloom App',
);

Constructors

BloomPlatforms({int androidMinSdk = 24, int androidTargetSdk = 34, String? androidPackage, String iosMinVersion = '15.0', String? iosBundleIdentifier, String webTitle = 'Bloom App'})
Creates a BloomPlatforms configuration with platform defaults.
const
BloomPlatforms.fromMap(Map map)
Constructs a BloomPlatforms configuration from a parsed map.
factory

Properties

androidMinSdk int
Android minimum supported SDK version (defaults to 24).
final
androidPackage String?
Android application package name (e.g. 'com.example.app').
final
androidTargetSdk int
Android target SDK compilation version (defaults to 34).
final
hashCode int
The hash code for this object.
no setterinherited
iosBundleIdentifier String?
iOS application bundle identifier (e.g. 'com.example.app').
final
iosMinVersion String
iOS minimum deployment target version (defaults to '15.0').
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
webTitle String
Default document title for web application builds.
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