NmLayeredCardState constructor

const NmLayeredCardState({
  1. required List<NmPropertyLayer> layers,
  2. int currentLayerIndex = 0,
  3. double peekOffset = 0.0,
})

Creates a NmLayeredCardState.

Implementation

const NmLayeredCardState({required this.layers, this.currentLayerIndex = 0, this.peekOffset = 0.0});