appBar property

PreferredSizeWidget? appBar
final

Optional app bar for the chat screen. If not provided, no app bar will be displayed. You can use this to add a custom app bar with title, actions, etc. If you want to use the default app bar, you can pass an empty PreferredSizeWidget.

Implementation

final PreferredSizeWidget? appBar;