SWDialog constructor

const SWDialog(
  1. void _onLeftButtonPressed(),
  2. void _onRightButtonPressed(), {
  3. String dialogTitle = "Authentication successful.",
  4. String leftButtonText = "Add another account",
  5. String rightButtonText = "Continue",
  6. Key? key,
})

Implementation

const SWDialog(
  this._onLeftButtonPressed,
  this._onRightButtonPressed, {
  String dialogTitle = "Authentication successful.",
  String leftButtonText = "Add another account",
  String rightButtonText = "Continue",
  Key? key,
})  : _dialogTitle = dialogTitle,
      _leftButtonText = leftButtonText,
      _rightButtonText = rightButtonText,
      super(key: key);