const LayersViewer({ super.key, required this.layers, required this.index, required this.editable, this.onUpdate, });