Group constructor
Group({
- int? id,
- required String name,
- String? class_,
- int x = 0,
- int y = 0,
- double offsetX = 0,
- double offsetY = 0,
- double parallaxX = 1,
- double parallaxY = 1,
- int? startX,
- int? startY,
- String? tintColorHex,
- Color? tintColor,
- double opacity = 1,
- bool visible = true,
- CustomProperties properties = CustomProperties.empty,
- required List<
Layer> layers,
Implementation
Group({
super.id,
required super.name,
super.class_,
super.x,
super.y,
super.offsetX,
super.offsetY,
super.parallaxX,
super.parallaxY,
super.startX,
super.startY,
super.tintColorHex,
super.tintColor,
super.opacity,
super.visible,
super.properties,
required this.layers,
}) : super(
type: LayerType.imageLayer,
);