controller property

ScrollController? controller
final

ScrollController to get the current scroll position.

Must be null if primary is true.

It can be used to read the current

Implementation

//   scroll position (see [ScrollController.offset]), or change it (see
//   [ScrollController.animateTo]).
final ScrollController? controller;