ClonifySettings class
Represents the global settings for the Clonify tool.
These settings are loaded from clonify_settings.yaml and define
project-wide configuration including Firebase, Fastlane, default colors,
and assets to be cloned for each client.
Example:
final yaml = loadYaml(File('clonify_settings.yaml').readAsStringSync());
final settings = ClonifySettings.fromYaml(yaml);
Constructors
-
ClonifySettings({required bool firebaseEnabled, required String firebaseSettingsFilePath, required bool fastlaneEnabled, required String fastlaneSettingsFilePath, required String companyName, required String defaultColor, required bool needsLauncherIcon, required bool needsSplashScreen, required bool needsLogo, required bool updateAndroidInfo, required bool updateIOSInfo, List<
CustomField> customFields = const []}) - Creates a new ClonifySettings instance.
- ClonifySettings.fromYaml(YamlMap yaml)
-
Creates a ClonifySettings instance from a YAML map.
factory
Properties
- companyName → String
-
The company or organization name used across all clones.
final
-
customFields
→ List<
CustomField> -
List of custom fields that can be configured per clone.
final
- defaultColor → String
-
The default primary color in hex format (e.g., '#FF5733').
final
- fastlaneEnabled → bool
-
Whether Fastlane integration is enabled for app deployment.
final
- fastlaneSettingsFilePath → String
-
Path to the Fastlane settings file relative to project root.
final
- firebaseEnabled → bool
-
Whether Firebase integration is enabled for this project.
final
- firebaseSettingsFilePath → String
-
Path to the Firebase settings file relative to project root.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- needsLauncherIcon → bool
-
Whether the app needs a launcher icon.
final
- needsLogo → bool
-
Whether the app needs a logo asset.
final
- needsSplashScreen → bool
-
Whether the app needs a splash screen.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateAndroidInfo → bool
-
Whether to update the Android info rename, splash screen and launcher icon.
final
- updateIOSInfo → bool
-
Whether to update the iOS info rename, splash screen and launcher icon.
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