You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SmartFit_Mobile/lib/view/profile/mobile/mobile_profile_view.dart

45 lines
1.1 KiB

import 'package:flutter/material.dart';
import 'package:smartfit_app_mobile/view/profile/all_platforme/profile_view_allplatforme.dart';
class MobileProfileView extends StatefulWidget {
const MobileProfileView({super.key});
@override
State<MobileProfileView> createState() => _MobileProfileView();
}
class _MobileProfileView extends State<MobileProfileView> {
bool positive = false;
List accountArr = [
{
"image": "assets/img/p_personal.png",
"name": "Changer son pseudo",
"tag": "1"
},
{
"image": "assets/img/p_personal.png",
"name": "Changer son email",
"tag": "3"
},
{
"image": "assets/img/p_personal.png",
"name": "Changer son mot de passe",
"tag": "2"
},
];
List otherArr = [
{"image": "assets/img/p_contact.png", "name": "Nous contacter", "tag": "5"},
{
"image": "assets/img/p_privacy.png",
"name": "Politique de confidentialité",
"tag": "6"
},
];
@override
Widget build(BuildContext context) {
return ProfileViewAllPlatforme(positive, accountArr, otherArr);
}
}