title: The argument type 'TimeOfDay' can't be assigned to the parameter type 'DateTime'
body: <pre><code>ListTile(
    leading: Icon(Icons.access_time),
    onTap: () async {
      final TimeOfDay? picked = await showTimePicker(
        context: context,
        initialTime: _time,
      );
      if (picked != null) {
        setState(() {
          _eventTime.text = DateFormat('HH:mm').format(picked);
        });
      }
    },
    title: TextField(
      readOnly: true,
      controller: _eventTime,
      decoration: InputDecoration(
        border: OutlineInputBorder(),
        labelText: &quot;Event Time&quot;,
      ),
    ),
  ),
  </code></pre>
  <p>I want to store the value of the selected time in the controller (_eventtime) to save in the firestore database</p>