initialise method

void initialise(
  1. double height,
  2. double width
)

CupertinoStackViewController has to be initialised as soon as the application starts. Use this method with the MediaQuery.of(context).size.height and MediaQuery.of(context).size.width values.

Implementation

void initialise(double height, double width) {
  this.height = height;
  this.width = width;
}