This commit is contained in:
Felipe
2023-09-01 10:30:34 -05:00
parent 39d50155ff
commit 7b71657fb9
3 changed files with 42 additions and 18 deletions
+7 -15
View File
@@ -725,6 +725,8 @@ class _ServiceScreenState extends State<ServiceScreen> {
child: Column(
children: [
TextFormField(
controller: _serviceTypeController,
readOnly: true,
onTap: () async {
final String? serviceType =
await Navigator.push(
@@ -743,21 +745,11 @@ class _ServiceScreenState extends State<ServiceScreen> {
});
}
},
controller: _serviceTypeController,
style: const TextStyle(
color: Colors.black87,
fontWeight: FontWeight.w600,
),
readOnly: true,
decoration: InputDecoration(
hintText: _serviceType == ''
? 'Servicio'
: _serviceType,
border: InputBorder.none,
enabledBorder: InputBorder.none,
),
decoration: const InputDecoration(
prefixIcon: Icon(Icons.room_service_rounded),
suffixIcon: Icon(Icons.arrow_drop_down),
hintText: 'Tipo de Servicio'),
),
const SizedBox(height: 15),
Column(
children: [
@@ -1077,7 +1069,7 @@ class _ServiceScreenState extends State<ServiceScreen> {
),
),
),
//Text('${_selectedDate?.weekday}'),
const SizedBox(height: 15),
],
),
),