QuestionModalWidget constructor

const QuestionModalWidget({
  1. Key? key,
  2. required String? trueButton,
  3. required String? falseButton,
  4. required String? trueImageUrl,
  5. required String? falseImageUrl,
  6. String? thirdButtonTitle,
  7. String? thirdButtonSubTitle,
  8. String? thirdButtonImageUrl,
  9. String? trueSubtitle,
  10. String? falseSubtitle,
  11. bool? showThirdButton,
  12. bool? isDeposit,
})

Implementation

const QuestionModalWidget({
  Key? key,
  required this.trueButton,
  required this.falseButton,
  required this.trueImageUrl,
  required this.falseImageUrl,
  this.thirdButtonTitle,
  this.thirdButtonSubTitle,
  this.thirdButtonImageUrl,
  this.trueSubtitle,
  this.falseSubtitle,
  bool? showThirdButton,
  bool? isDeposit,
})  : this.showThirdButton = showThirdButton ?? false,
      this.isDeposit = isDeposit ?? false,
      super(key: key);