|
|
|
|
@ -120,15 +120,8 @@ class MultipleChoiceActivityState extends State<MultipleChoiceActivity> {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
final PracticeActivityModel practiceActivity = widget.currentActivity;
|
|
|
|
|
|
|
|
|
|
return Container(
|
|
|
|
|
padding: const EdgeInsets.all(20),
|
|
|
|
|
constraints: const BoxConstraints(
|
|
|
|
|
maxHeight: AppConfig.toolbarMaxHeight,
|
|
|
|
|
minWidth: AppConfig.toolbarMinWidth,
|
|
|
|
|
minHeight: AppConfig.toolbarMinHeight,
|
|
|
|
|
),
|
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
|
child: Column(
|
|
|
|
|
final content = Column(
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
children: [
|
|
|
|
|
Text(
|
|
|
|
|
practiceActivity.content.question,
|
|
|
|
|
@ -175,8 +168,19 @@ class MultipleChoiceActivityState extends State<MultipleChoiceActivity> {
|
|
|
|
|
id: currentRecordModel?.hashCode.toString(),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
return Container(
|
|
|
|
|
padding: const EdgeInsets.all(20),
|
|
|
|
|
constraints: const BoxConstraints(
|
|
|
|
|
maxHeight: AppConfig.toolbarMaxHeight,
|
|
|
|
|
minWidth: AppConfig.toolbarMinWidth,
|
|
|
|
|
minHeight: AppConfig.toolbarMinHeight,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
child:
|
|
|
|
|
practiceActivity.activityType == ActivityTypeEnum.hiddenWordListening
|
|
|
|
|
? SingleChildScrollView(child: content)
|
|
|
|
|
: content,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|