CustomSingleChildScrollView constructor

const CustomSingleChildScrollView({
  1. Key? key,
  2. required Widget child,
  3. ScrollPhysics? physics,
  4. bool reverse = false,
  5. ScrollController? controller,
  6. EdgeInsetsGeometry? padding,
  7. bool shrinkWrap = false,
  8. Axis scrollDirection = Axis.vertical,
})

Implementation

const CustomSingleChildScrollView({
  super.key,
  required this.child,
  ScrollPhysics? physics,
  this.reverse = false,
  this.controller,
  this.padding,
  this.shrinkWrap = false,
  this.scrollDirection = Axis.vertical,
}) : physics = const BouncingScrollPhysics();