Browse Source

fix: question number

pull/60/head
AmirrezaChegini 1 week ago
parent
commit
7336136d2a
  1. 1
      lib/features/question/presentation/ui/widgets/question_title.dart

1
lib/features/question/presentation/ui/widgets/question_title.dart

@ -23,6 +23,7 @@ class QuestionTitle extends StatelessWidget {
'${context.translate.step} ${step ?? 0}', '${context.translate.step} ${step ?? 0}',
style: MYTextStyle.titr3, style: MYTextStyle.titr3,
), ),
if ((currentQuestion ?? 0) < (questionLength ?? 0))
Text( Text(
'${context.translate.question} ${currentQuestion ?? 0}/${(questionLength ?? 0) - 1}', '${context.translate.question} ${currentQuestion ?? 0}/${(questionLength ?? 0) - 1}',
style: MYTextStyle.matn3.copyWith( style: MYTextStyle.matn3.copyWith(

Loading…
Cancel
Save