ScrollToBottom constructor
const
ScrollToBottom({
- Key? key,
- required Animation<
double> animation, - required VoidCallback onPressed,
- double? left,
- double? right = 16,
- double? top,
- double? bottom = 12,
- bool? useComposerHeightForBottomOffset = true,
- bool? mini = true,
- ShapeBorder? shape = const CircleBorder(),
- Widget? icon = const Icon(Icons.keyboard_arrow_down),
- bool? handleSafeArea = true,
- Color? backgroundColor,
- Color? foregroundColor,
- String? scrollToBottomArrow,
Creates a scroll-to-bottom button.
Implementation
const ScrollToBottom({
super.key,
required this.animation,
required this.onPressed,
this.left,
this.right = 16,
this.top,
this.bottom = 12,
this.useComposerHeightForBottomOffset = true,
this.mini = true,
this.shape = const CircleBorder(),
this.icon = const Icon(Icons.keyboard_arrow_down),
this.handleSafeArea = true,
this.backgroundColor,
this.foregroundColor,
this.scrollToBottomArrow,
});