ControllerData constructor Null safety

const ControllerData(
  1. int height,
  2. Duration? duration
)

Implementation

const ControllerData(this.height, this.duration);