ScrollableArea constructor

const ScrollableArea({
  1. Key? key,
  2. required Widget child,
  3. bool scrollable = true,
  4. bool refreshable = true,
  5. bool paginable = true,
  6. ScrollableAreaArrows arrows = const ScrollableAreaArrows(),
  7. bool showIndicator = true,
  8. Axis direction = Axis.vertical,
  9. void onRefresh(
    1. ScrollMetrics metrics
    )?,
  10. void onStart(
    1. ScrollMetrics metrics
    )?,
  11. void onMiddle(
    1. ScrollMetrics metrics
    )?,
  12. Future<void> onEnd(
    1. ScrollMetrics metrics
    )?,
  13. void onNotification(
    1. ScrollNotification notification
    )?,
  14. void onInit()?,
  15. ScrollController? controller,
  16. AlignmentGeometry? alignment,
  17. Widget builder(
    1. BuildContext context,
    2. Widget? child,
    3. ValueNotifier<ScrollNotification?> notifier
    )?,
  18. Widget? topWidget,
})

Implementation

const ScrollableArea(
    {super.key,
    required this.child,
    this.scrollable = true,
    this.refreshable = true,
    this.paginable = true,
    this.arrows = const ScrollableAreaArrows(),
    this.showIndicator = true,
    this.direction = Axis.vertical,
    this.onRefresh,
    this.onStart,
    this.onMiddle,
    this.onEnd,
    this.onNotification,
    this.onInit,
    this.controller,
    this.alignment,
    this.builder,
    this.topWidget});