|
|
|
@ -23,19 +23,20 @@ class QuestionTitle extends StatelessWidget { |
|
|
|
'${context.translate.step} ${step ?? 0}', |
|
|
|
style: MYTextStyle.titr3, |
|
|
|
), |
|
|
|
Text( |
|
|
|
'${context.translate.question} ${currentQuestion ?? 0}/${(questionLength ?? 0) - 1}', |
|
|
|
style: MYTextStyle.matn3.copyWith( |
|
|
|
color: MyColors.white.withValues(alpha: 0.5), |
|
|
|
shadows: [ |
|
|
|
BoxShadow( |
|
|
|
color: MyColors.black.withValues(alpha: 0.25), |
|
|
|
blurRadius: 0.82, |
|
|
|
offset: const Offset(0, 1.22), |
|
|
|
), |
|
|
|
], |
|
|
|
if ((currentQuestion ?? 0) < (questionLength ?? 0)) |
|
|
|
Text( |
|
|
|
'${context.translate.question} ${currentQuestion ?? 0}/${(questionLength ?? 0) - 1}', |
|
|
|
style: MYTextStyle.matn3.copyWith( |
|
|
|
color: MyColors.white.withValues(alpha: 0.5), |
|
|
|
shadows: [ |
|
|
|
BoxShadow( |
|
|
|
color: MyColors.black.withValues(alpha: 0.25), |
|
|
|
blurRadius: 0.82, |
|
|
|
offset: const Offset(0, 1.22), |
|
|
|
), |
|
|
|
], |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
); |
|
|
|
} |
|
|
|
|