ChatThreadViewportBody constructor
const
ChatThreadViewportBody({
- Key? key,
- required List<
Widget> children, - ScrollController? scrollController,
- bool bottomAlign = true,
- Widget? centerContent,
- double bottomSpacer = 0,
- Key? bottomSpacerKey,
- Duration bottomSpacerAnimationDuration = Duration.zero,
- Curve bottomSpacerAnimationCurve = Curves.easeOutCubic,
- List<
Widget> overlays = const [], - Object? tapRegionGroupId,
- 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,
});