NmLayerStack constructor

const NmLayerStack({
  1. Key? key,
  2. required List<NmPropertyLayer> layers,
  3. int initialLayerIndex = 0,
  4. void onLayerChange(
    1. int index
    )?,
  5. void onFieldTap(
    1. String fieldName,
    2. String fieldValue
    )?,
  6. double peekAmount = 40.0,
  7. double stackOffset = 12.0,
})

Creates a NmLayerStack.

Implementation

const NmLayerStack({
  super.key,
  required this.layers,
  this.initialLayerIndex = 0,
  this.onLayerChange,
  this.onFieldTap,
  this.peekAmount = 40.0,
  this.stackOffset = 12.0,
});