QuestionDialog constructor

QuestionDialog({
  1. Key? key,
  2. TextStyle questionTextStyle = const TextStyle(),
  3. TextStyle optionTextStyle = const TextStyle(),
  4. TextStyle buttonTextStyle = const TextStyle(color: Colors.white),
  5. TextStyle headerTextStyle = const TextStyle(color: Colors.white),
  6. Color tileColor = Colors.blue,
  7. Color tileBorderColor = Colors.blue,
  8. Color color = Colors.white,
  9. Color buttonIconColor = Colors.white,
  10. Color optionIconColor = Colors.black,
  11. Color activeIconColor = Colors.blue,
  12. bool isRadioButton = false,
  13. required Function nextPressed,
  14. required Function prevPressed,
  15. required int sectionCount,
  16. required dynamic questionList,
  17. required dynamic questionOptionList,
  18. required dynamic questionCheckBoxList,
})

Implementation

QuestionDialog({Key? key,this.questionTextStyle:const TextStyle(),
  this.optionTextStyle:const TextStyle(),
  this.buttonTextStyle:const TextStyle(color: Colors.white),
  this.headerTextStyle:const TextStyle(color: Colors.white),
  this.tileColor:Colors.blue,
  this.tileBorderColor:Colors.blue,
  this.color:Colors.white,
  this.buttonIconColor:Colors.white,
  this.optionIconColor:Colors.black,
  this.activeIconColor:Colors.blue,
  this.isRadioButton:false,


  required this.nextPressed, required this.prevPressed,required this.sectionCount,required this.questionList,required this.questionOptionList,required this.questionCheckBoxList}) : super(key: key);