StudioThemeDescriptor class

Detailed descriptor of a package theme.

Constructors

StudioThemeDescriptor({required String id, required String name, required String description, required List<ThemeColorDefinition> palette, required String backgroundColor, required String particleGlowColor, double defaultParticleSize = 2.0, double defaultParticleOpacity = 0.8, List<String> supportedLoaderIds = const ['infinite_universe', 'galaxy_orbit', 'nebula_storm', 'quantum_void', 'pulsar_wave', 'cyber_matrix'], Map<String, dynamic> visualProperties = const {}, bool isCustom = false})
const
StudioThemeDescriptor.fromJson(Map<String, dynamic> json)
factory

Properties

backgroundColor → String
final
defaultParticleOpacity → double
final
defaultParticleSize → double
final
description → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
isCustom → bool
final
name → String
final
palette → List<ThemeColorDefinition>
final
particleGlowColor → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportedLoaderIds → List<String>
final
visualProperties → Map<String, dynamic>
final

Methods

copyWith({String? id, String? name, String? description, List<ThemeColorDefinition>? palette, String? backgroundColor, String? particleGlowColor, double? defaultParticleSize, double? defaultParticleOpacity, List<String>? supportedLoaderIds, Map<String, dynamic>? visualProperties, bool? isCustom}) → StudioThemeDescriptor
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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