ChatThreadViewportBody constructor

const ChatThreadViewportBody({
  1. Key? key,
  2. required List<Widget> children,
  3. ScrollController? scrollController,
  4. bool bottomAlign = true,
  5. Widget? centerContent,
  6. double bottomSpacer = 0,
  7. Key? bottomSpacerKey,
  8. Duration bottomSpacerAnimationDuration = Duration.zero,
  9. Curve bottomSpacerAnimationCurve = Curves.easeOutCubic,
  10. List<Widget> overlays = const [],
  11. Object? tapRegionGroupId,
  12. double? mobileUnderHeaderContentPadding,
})

Implementation

const ChatThreadViewportBody({
  super.key,
  required this.children,
  this.scrollController,
  this.bottomAlign = true,
  this.centerContent,
  this.bottomSpacer = 0,
  this.bottomSpacerKey,
  this.bottomSpacerAnimationDuration = Duration.zero,
  this.bottomSpacerAnimationCurve = Curves.easeOutCubic,
  this.overlays = const [],
  this.tapRegionGroupId,
  this.mobileUnderHeaderContentPadding,
});