ViewPortWidget.fixed constructor

ViewPortWidget.fixed({
  1. required Widget child,
  2. double height = double.infinity,
  3. double width = double.infinity,
  4. Key? key,
})

Provides a fixed ViewPort configuration.

See also:

Implementation

ViewPortWidget.fixed({
  required Widget child,
  double height = double.infinity,
  double width = double.infinity,
  Key? key,
}) : this(
        factory: FixedViewPortFactory(
          height: height,
          width: width,
        ),
        child: child,
        key: key,
      );