lading chat
This commit is contained in:
@@ -148,35 +148,38 @@ class _ProfessionalProfileScreenState extends State<ProfessionalProfileScreen> {
|
||||
padding: const EdgeInsets.symmetric(horizontal: 25, vertical: 15),
|
||||
child: Column(
|
||||
children: [
|
||||
Row(
|
||||
children: [
|
||||
const Expanded(
|
||||
child: Text(
|
||||
'Servicio a domicilio',
|
||||
style: TextStyle(
|
||||
fontSize: 17,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Colors.black,
|
||||
Visibility(
|
||||
visible: settings?.domicilios ?? false,
|
||||
child: Row(
|
||||
children: [
|
||||
const Expanded(
|
||||
child: Text(
|
||||
'Servicio a domicilio',
|
||||
style: TextStyle(
|
||||
fontSize: 17,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Colors.black,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
Switch(
|
||||
value: deliveryValue,
|
||||
onChanged: (value) {
|
||||
setState(() {
|
||||
deliveryValue = value;
|
||||
if (settings?.domicilios == true) {
|
||||
Switch(
|
||||
value: deliveryValue,
|
||||
onChanged: (value) {
|
||||
setState(() {
|
||||
deliveryValue = value;
|
||||
if (!deliveryValue) {
|
||||
officeValue = true;
|
||||
if (settings?.domicilios == true) {
|
||||
deliveryValue = value;
|
||||
if (!deliveryValue) {
|
||||
officeValue = true;
|
||||
}
|
||||
} else {
|
||||
deliveryValue = false;
|
||||
}
|
||||
} else {
|
||||
deliveryValue = false;
|
||||
}
|
||||
});
|
||||
},
|
||||
),
|
||||
],
|
||||
});
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user