LcdContents.powerOn constructor Null safety

LcdContents.powerOn(
  1. String text,
  2. bool rightJustify
)

Implementation

LcdContents.powerOn(String text, this.rightJustify)
    : mainText = rightJustify ? text : ' $text',
      blank = false,
      shift = ShiftKey.none,
      sign = SignMode.twosComplement,
      bits = 0,
      cFlag = false,
      complexFlag = false,
      gFlag = false,
      prgmFlag = false,
      windowEnabled = false,
      euroComma = false,
      hideComplement = false,
      wordSize = null,
      trigMode = TrigMode.deg,
      userMode = false,
      _myTimer = null,
      extraShift = null;