copyWith method
ScrollToBottomOptions
copyWith({})
Implementation
ScrollToBottomOptions copyWith({
bool? disabled,
bool? alwaysVisible,
VoidCallback? onScrollToBottomPress,
Widget Function(ScrollController)? scrollToBottomBuilder,
double? bottomOffset,
double? rightOffset,
bool? showText,
String? buttonText,
}) =>
ScrollToBottomOptions(
disabled: disabled ?? this.disabled,
alwaysVisible: alwaysVisible ?? this.alwaysVisible,
onScrollToBottomPress:
onScrollToBottomPress ?? this.onScrollToBottomPress,
scrollToBottomBuilder:
scrollToBottomBuilder ?? this.scrollToBottomBuilder,
bottomOffset: bottomOffset ?? this.bottomOffset,
rightOffset: rightOffset ?? this.rightOffset,
showText: showText ?? this.showText,
buttonText: buttonText ?? this.buttonText,
);