Resize constructor

Resize({
  1. Dimensions? dimensions,
  2. bool? relative,
  3. bool? regionRelative,
})

Implementation

Resize({Dimensions? dimensions, this.relative, this.regionRelative}) {
  if (dimensions == null) {
    this.dimensions = Dimensions();
  } else {
    this.dimensions = dimensions;
  }
}