QuestionDialog constructor
QuestionDialog({
- Key? key,
- TextStyle questionTextStyle = const TextStyle(),
- TextStyle optionTextStyle = const TextStyle(),
- TextStyle buttonTextStyle = const TextStyle(color: Colors.white),
- TextStyle headerTextStyle = const TextStyle(color: Colors.white),
- Color tileColor = Colors.blue,
- Color tileBorderColor = Colors.blue,
- Color color = Colors.white,
- Color buttonIconColor = Colors.white,
- Color optionIconColor = Colors.black,
- Color activeIconColor = Colors.blue,
- bool isRadioButton = false,
- required Function nextPressed,
- required Function prevPressed,
- required int sectionCount,
- required dynamic questionList,
- required dynamic questionOptionList,
- 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);