ChatViewAppBar constructor

const ChatViewAppBar({
  1. Key? key,
  2. required String chatTitle,
  3. Color? backGroundColor,
  4. String? userStatus,
  5. String? profilePicture,
  6. TextStyle? chatTitleTextStyle,
  7. TextStyle? userStatusTextStyle,
  8. Color? backArrowColor,
  9. List<Widget>? actions,
  10. double? elevation,
  11. VoidCallBack? onBackPress,
  12. EdgeInsets? padding,
  13. Widget? leading,
  14. bool showLeading = true,
  15. String defaultAvatarImage = profileImage,
  16. AssetImageErrorBuilder? assetImageErrorBuilder,
  17. NetworkImageErrorBuilder? networkImageErrorBuilder,
  18. ImageType imageType = ImageType.network,
  19. NetworkImageProgressIndicatorBuilder? networkImageProgressIndicatorBuilder,
})

Implementation

const ChatViewAppBar({
  Key? key,
  required this.chatTitle,
  this.backGroundColor,
  this.userStatus,
  this.profilePicture,
  this.chatTitleTextStyle,
  this.userStatusTextStyle,
  this.backArrowColor,
  this.actions,
  this.elevation,
  this.onBackPress,
  this.padding,
  this.leading,
  this.showLeading = true,
  this.defaultAvatarImage = profileImage,
  this.assetImageErrorBuilder,
  this.networkImageErrorBuilder,
  this.imageType = ImageType.network,
  this.networkImageProgressIndicatorBuilder,
}) : super(key: key);