BackTopWidget constructor

const BackTopWidget(
  1. ScrollController scrollController, {
  2. Key? key,
})

Constructor for BackTopWidget.

scrollController: The scroll controller to listen to scroll events. key: Optional key to use for this widget.

Implementation

const BackTopWidget(this.scrollController, {super.key});