BasePad constructor Null safety

BasePad(
  1. {dynamic super}
)

Implementation

BasePad(
    {super.dimensions,
    super.relative,
    super.regionRelative,
    CompassGravity? gravityValue,
    dynamic offsetXValue,
    dynamic offsetYValue,
    Background? backgroundValue}) {
  if (gravityValue != null) {
    gravity(gravityValue);
  }
  offsetX(offsetXValue);
  offsetY(offsetYValue);
  if (backgroundValue != null) {
    background(backgroundValue);
  }
}