key: dropDownKey, children: [ GestureDetector( onTap: () { openList(context); }, child: Container( height: 20, width: double.infinity, decoration: BoxDecoration( border: Border.all(color: Colors.grey), borderRadius: BorderRadius.circular(10), ), child: const Row( mainAxisAlignment: MainAxisAlignment…