ThreadHeader constructor

const ThreadHeader({
  1. Key? key,
  2. required Message parent,
  3. bool showBackButton = true,
  4. VoidCallback? onBackPressed,
  5. Widget? title,
  6. Widget? subtitle,
  7. Widget? leading,
  8. List<Widget>? actions,
  9. VoidCallback? onTitleTap,
  10. bool showTypingIndicator = true,
  11. Color? backgroundColor,
})

Instantiate a new ThreadHeader

Implementation

const ThreadHeader({
  Key? key,
  required this.parent,
  this.showBackButton = true,
  this.onBackPressed,
  this.title,
  this.subtitle,
  this.leading,
  this.actions,
  this.onTitleTap,
  this.showTypingIndicator = true,
  this.backgroundColor,
})  : preferredSize = const Size.fromHeight(kToolbarHeight),
      super(key: key);