Fix issue landscape mode

This commit is contained in:
Fransolet Thomas 2023-03-03 17:29:36 +01:00
parent 2b04324ba4
commit f63bd05cc8

View File

@ -62,7 +62,8 @@ class _QuestionsListWidget extends State<QuestionsListWidget> {
//color: Colors.orange,
child: Stack(
children: [
Column(
SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.start,
children: [
@ -234,6 +235,7 @@ class _QuestionsListWidget extends State<QuestionsListWidget> {
),
],
),
),
if(widget.questionsSubDTO!.isNotEmpty && _questionsSubDTO.length > 1 && currentIndex != _questionsSubDTO.length && _questionsSubDTO[currentIndex-1].chosen != null)
Positioned(
top: widget.orientation == Orientation.portrait ? MediaQuery.of(context).size.height * 0.38 : MediaQuery.of(context).size.height * 0.325,