ScrollControllerBuilder constructor

const ScrollControllerBuilder({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. ScrollController controller
    ),
})

A widget that exposes a ScrollController to the child, thereby allowing widgets that require a ScrollController to be fully declarative.

Implementation

const ScrollControllerBuilder({
  super.key,
  required this.builder,
});