SingleChildScrollView constructor

const SingleChildScrollView({
  1. Key? key,
  2. Axis scrollDirection = Axis.vertical,
  3. bool reverse = false,
  4. EdgeInsetsGeometry? padding,
  5. ScrollController? controller,
  6. bool? primary,
  7. ScrollPhysics? physics,
  8. Widget? child,
  9. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  10. Clip clipBehavior = Clip.hardEdge,
  11. String? restorationId,
  12. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
})

Implementation

const SingleChildScrollView({
  super.key,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.padding,
  this.controller,
  this.primary,
  this.physics,
  this.child,
  this.dragStartBehavior = DragStartBehavior.start,
  this.clipBehavior = Clip.hardEdge,
  this.restorationId,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
});