| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -28,8 +28,11 @@ class DropdownField extends StatefulWidget {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final Function(DropValue) onSelect;
 | 
					 | 
					 | 
					 | 
					  final Function(DropValue) onSelect;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final bool showAppointmentPickerVariant;
 | 
					 | 
					 | 
					 | 
					  final bool showAppointmentPickerVariant;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final TextStyle? textStyle;
 | 
					 | 
					 | 
					 | 
					  final TextStyle? textStyle;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  final bool isSelectAble;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  const DropdownField(this.onSelect, {Key? key, this.hint, this.list, this.dropdownValue, this.errorValue = "", this.showAppointmentPickerVariant = false, this.textStyle}) : super(key: key);
 | 
					 | 
					 | 
					 | 
					  const DropdownField(this.onSelect,
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      {Key? key, this.hint, this.list, this.dropdownValue, this.errorValue = "", this.showAppointmentPickerVariant = false, this.textStyle, this.isSelectAble = true})
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      : super(key: key);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  @override
 | 
					 | 
					 | 
					 | 
					  @override
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  State<DropdownField> createState() => _DropdownFieldState();
 | 
					 | 
					 | 
					 | 
					  State<DropdownField> createState() => _DropdownFieldState();
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -53,7 +56,9 @@ class _DropdownFieldState extends State<DropdownField> {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    return Column(
 | 
					 | 
					 | 
					 | 
					    return Column(
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      children: [
 | 
					 | 
					 | 
					 | 
					      children: [
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        Container(
 | 
					 | 
					 | 
					 | 
					        Container(
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          decoration: widget.showAppointmentPickerVariant ? null : Utils.containerColorRadiusBorderWidth(MyColors.white, 0, MyColors.darkPrimaryColor, 2),
 | 
					 | 
					 | 
					 | 
					          decoration: widget.showAppointmentPickerVariant ? null : Utils
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              .containerColorRadiusBorderWidth(
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              MyColors.white, 0, MyColors.darkPrimaryColor, 2),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          margin: const EdgeInsets.all(0),
 | 
					 | 
					 | 
					 | 
					          margin: const EdgeInsets.all(0),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          padding: const EdgeInsets.only(left: 8, right: 8),
 | 
					 | 
					 | 
					 | 
					          padding: const EdgeInsets.only(left: 8, right: 8),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          width: widget.showAppointmentPickerVariant ? 170 : null,
 | 
					 | 
					 | 
					 | 
					          width: widget.showAppointmentPickerVariant ? 170 : null,
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -65,8 +70,15 @@ class _DropdownFieldState extends State<DropdownField> {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            iconEnabledColor: borderColor,
 | 
					 | 
					 | 
					 | 
					            iconEnabledColor: borderColor,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            iconDisabledColor: borderColor,
 | 
					 | 
					 | 
					 | 
					            iconDisabledColor: borderColor,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            isExpanded: true,
 | 
					 | 
					 | 
					 | 
					            isExpanded: true,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            style: widget.showAppointmentPickerVariant ? widget.textStyle : const TextStyle(color: Colors.black, fontWeight: FontWeight.w600, fontSize: 15),
 | 
					 | 
					 | 
					 | 
					            style: widget.showAppointmentPickerVariant
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            hint: (widget.hint ?? "").toText(color: widget.showAppointmentPickerVariant ? Colors.black : borderColor, fontSize: widget.showAppointmentPickerVariant ? 18 : 15),
 | 
					 | 
					 | 
					 | 
					                ? widget.textStyle
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                : const TextStyle(
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                color: Colors.black, fontWeight: FontWeight.w600, fontSize: 15),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            hint: (widget.hint ?? "").toText(
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                color: widget.showAppointmentPickerVariant
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    ? Colors.black
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    : borderColor,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                fontSize: widget.showAppointmentPickerVariant ? 18 : 15),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            underline: Container(height: 0),
 | 
					 | 
					 | 
					 | 
					            underline: Container(height: 0),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            onChanged: (DropValue? newValue) {
 | 
					 | 
					 | 
					 | 
					            onChanged: (DropValue? newValue) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              setState(() {
 | 
					 | 
					 | 
					 | 
					              setState(() {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -79,7 +91,8 @@ class _DropdownFieldState extends State<DropdownField> {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                return DropdownMenuItem<DropValue>(
 | 
					 | 
					 | 
					 | 
					                return DropdownMenuItem<DropValue>(
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  value: value,
 | 
					 | 
					 | 
					 | 
					                  value: value,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  enabled: value.isEnabled ?? true,
 | 
					 | 
					 | 
					 | 
					                  enabled: value.isEnabled ?? true,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                  child: value.value.toText(fontSize: 15, color: value.isEnabled == false ? Colors.black38 : null),
 | 
					 | 
					 | 
					 | 
					                  child: value.value.toText(fontSize: 15,
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                      color: value.isEnabled == false ? Colors.black38 : null),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                );
 | 
					 | 
					 | 
					 | 
					                );
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              },
 | 
					 | 
					 | 
					 | 
					              },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            ).toList(),
 | 
					 | 
					 | 
					 | 
					            ).toList(),
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |