of static method

ReorderableScrollable of(
  1. BuildContext context, {
  2. required ScrollController? scrollController,
})

Factory method to create a ReorderableScrollable instance.

Implementation

static ReorderableScrollable of(
  BuildContext context, {
  required ScrollController? scrollController,
}) {
  _context = context;
  _scrollController = scrollController;

  return const ReorderableScrollable._();
}