VapView constructor

const VapView({
  1. Key? key,
  2. required void onControllerCreated(
    1. VapController controller
    ),
  3. VapScaleFit fit = VapScaleFit.FIT_CENTER,
  4. void onEvent(
    1. dynamic event,
    2. dynamic arguments
    )?,
})

Implementation

const VapView({
  super.key,
  required this.onControllerCreated,
  this.fit = VapScaleFit.FIT_CENTER,
  this.onEvent,
});