ViewConfiguration constructor

const ViewConfiguration({Size size: Size.zero, double devicePixelRatio: 1.0 })

Creates a view configuration.

By default, the view has zero size and a devicePixelRatio of 1.0.

Implementation

const ViewConfiguration({
  this.size = Size.zero,
  this.devicePixelRatio = 1.0,
});