mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-03-03 22:46:46 +00:00
remove gender from survey
This commit is contained in:
parent
5a56a092a0
commit
e8b9466e15
1 changed files with 0 additions and 11 deletions
|
|
@ -16,8 +16,6 @@ class UserStudyQuestionnaire extends StatefulWidget {
|
||||||
|
|
||||||
class _UserStudyQuestionnaireState extends State<UserStudyQuestionnaire> {
|
class _UserStudyQuestionnaireState extends State<UserStudyQuestionnaire> {
|
||||||
final Map<String, dynamic> _responses = {
|
final Map<String, dynamic> _responses = {
|
||||||
'gender': null,
|
|
||||||
'gender_free': '',
|
|
||||||
'age': null,
|
'age': null,
|
||||||
'education': null,
|
'education': null,
|
||||||
'education_free': '',
|
'education_free': '',
|
||||||
|
|
@ -77,15 +75,6 @@ class _UserStudyQuestionnaireState extends State<UserStudyQuestionnaire> {
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
_sectionTitle('Demografische Daten'),
|
_sectionTitle('Demografische Daten'),
|
||||||
_questionText('Was ist dein Geschlecht?'),
|
|
||||||
_buildRadioList(
|
|
||||||
['Männlich', 'Weiblich', 'Divers', 'Keine Angabe'],
|
|
||||||
'gender',
|
|
||||||
),
|
|
||||||
_buildTextField(
|
|
||||||
'Freitext (optional)',
|
|
||||||
(val) => _responses['gender_free'] = val,
|
|
||||||
),
|
|
||||||
_questionText('Wie alt bist du?'),
|
_questionText('Wie alt bist du?'),
|
||||||
_buildRadioList(
|
_buildRadioList(
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue