This commit is contained in:
Juan Felipe Duarte
2023-04-19 09:38:18 -05:00
parent 6b09ce2f3a
commit 3b28febfec
8 changed files with 66 additions and 112 deletions
+48
View File
@@ -0,0 +1,48 @@
import 'package:flutter/material.dart';
import 'package:prosappco/src/components/drawer_professional.dart';
class ProfilePro extends StatefulWidget {
const ProfilePro({super.key});
@override
State<ProfilePro> createState() => _ProfileProState();
}
class _ProfileProState extends State<ProfilePro> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
bool switchValue = false;
return SafeArea(
child: Scaffold(
appBar: AppBar(
backgroundColor: Colors.white,
iconTheme: const IconThemeData(
color: Colors.black,
),
title: const Text(
'Perfil profesional',
style: TextStyle(
color: Colors.black,
),
),
),
drawer: DrawerProfessional(),
body: Center(
child: Switch(
value: switchValue,
onChanged: (bool newValue) {
setState(() {
switchValue = newValue;
});
},
),
),
),
);
}
}