Layer constructor

Layer({
  1. bool preview = false,
  2. List<Image>? images,
  3. List<Animation>? animations,
})

Implementation

Layer({
  this.preview = false,
  List<Image>? images,
  List<Animation>? animations,
}) : images = images ?? [],
     animations = animations ?? [];