|
|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:flutter_rating_bar/flutter_rating_bar.dart';
|
|
|
|
|
import 'package:flutter_svg/flutter_svg.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/classes/colors.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/config/routes.dart';
|
|
|
|
|
@ -8,7 +9,6 @@ import 'package:mohem_flutter_app/extensions/string_extensions.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/extensions/widget_extensions.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/generated/locale_keys.g.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/widgets/button/default_button.dart';
|
|
|
|
|
import 'package:flutter_rating_bar/flutter_rating_bar.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/widgets/dynamic_forms/dynamic_textfield_widget.dart';
|
|
|
|
|
|
|
|
|
|
class SurveyScreen extends StatefulWidget {
|
|
|
|
|
@ -90,7 +90,7 @@ class _SurveyScreenState extends State<SurveyScreen> {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Widget optionUI(String icon, int index) {
|
|
|
|
|
return (_selectedIndex == index
|
|
|
|
|
return (_selectedIndex == index
|
|
|
|
|
? SvgPicture.asset(
|
|
|
|
|
'assets/images/' + icon,
|
|
|
|
|
height: 32,
|
|
|
|
|
|