autofocus property
Determines whether the message field should automatically focus when the user navigates.
Defaults to "smart", which means that the message field gets focused whenever a conversation is selected, if possible without negative side effects. If you need more control, consider setting autofocus to false and calling focus() at appropriate times.
Implementation
final bool? autofocus;