Untitled

mail@pastecode.io avatarunknown
plain_text
a month ago
6.2 kB
1
Indexable
Never
Column(
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                Padding(
                  padding: EdgeInsets.all(Insets.med),
                  child: Text(
                    'Mon compte',
                    style: TextStyle(
                      color: AppTheme.greyStrong,
                      fontSize: FontSizes.s24,
                      fontWeight: FontWeight.w600,
                      fontFamily: 'ClashDisplay',
                    ),
                  ),
                ),
                Stack(
                  children: [
                    ScrollableColumn(
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: [
                        Text(
                          "Nom d'utilisateur",
                          style: TextStyle(
                            color: AppTheme.blue,
                            fontSize: FontSizes.s16,
                            fontWeight: FontWeight.w500,
                            fontFamily: 'ClashDisplay',
                          ),
                        ),
                        StyledTextField(
                          hintText: 'Nom',
                          initialValue: state.user.user?.userName,
                          onChanged: (value) {},
                        ),
                        Text(
                          'Rôle',
                          style: TextStyle(
                            color: AppTheme.blue,
                            fontSize: FontSizes.s16,
                            fontWeight: FontWeight.w500,
                            fontFamily: 'ClashDisplay',
                          ),
                        ),
                        StyledTextField(
                          hintText: 'Rôle',
                          initialValue: state.user.user?.role,
                          onChanged: (value) {},
                        ),
                        Text(
                          'Nom',
                          style: TextStyle(
                            color: AppTheme.blue,
                            fontSize: FontSizes.s16,
                            fontWeight: FontWeight.w500,
                            fontFamily: 'ClashDisplay',
                          ),
                        ),
                        StyledTextField(
                          hintText: 'Nom',
                          initialValue: state.user.user?.name,
                          onChanged: (value) {},
                        ),
                        Text(
                          'Adresse email',
                          style: TextStyle(
                            color: AppTheme.blue,
                            fontSize: FontSizes.s16,
                            fontWeight: FontWeight.w500,
                            fontFamily: 'ClashDisplay',
                          ),
                        ),
                        StyledTextField(
                          hintText: 'Nom',
                          initialValue: state.user.user?.email,
                          onChanged: (value) {},
                        ),
                        Text(
                          'Numéro de téléphone',
                          style: TextStyle(
                            color: AppTheme.blue,
                            fontSize: FontSizes.s16,
                            fontWeight: FontWeight.w500,
                            fontFamily: 'ClashDisplay',
                          ),
                        ),
                        StyledTextField(
                          hintText: 'Numéro de téléphone',
                          initialValue: state.user.user?.phoneNumber,
                          onChanged: (value) {},
                        ),
                        Text(
                          'Adresse',
                          style: TextStyle(
                            color: AppTheme.blue,
                            fontSize: FontSizes.s16,
                            fontWeight: FontWeight.w500,
                            fontFamily: 'ClashDisplay',
                          ),
                        ),
                        StyledTextField(
                          hintText: 'Adresse',
                          initialValue: state.user.user?.address,
                          onChanged: (value) {},
                        ),
                        Text(
                          'Code postal',
                          style: TextStyle(
                            color: AppTheme.blue,
                            fontSize: FontSizes.s16,
                            fontWeight: FontWeight.w500,
                            fontFamily: 'ClashDisplay',
                          ),
                        ),
                        StyledTextField(
                          hintText: 'Nom',
                          initialValue: state.user.user?.postalCode,
                          onChanged: (value) {},
                        ),
                        Text(
                          'Ville',
                          style: TextStyle(
                            color: AppTheme.blue,
                            fontSize: FontSizes.s16,
                            fontWeight: FontWeight.w500,
                            fontFamily: 'ClashDisplay',
                          ),
                        ),
                        StyledTextField(
                          hintText: 'Nom',
                          initialValue: state.user.user?.city,
                          onChanged: (value) {},
                        ),
                        Text(
                          'Pays',
                          style: TextStyle(
                            color: AppTheme.blue,
                            fontSize: FontSizes.s16,
                            fontWeight: FontWeight.w500,
                            fontFamily: 'ClashDisplay',
                          ),
                        ),
                      ],
                    )
                  ],
                ),
              ],
            );