SingleChildScrollView constructor

const SingleChildScrollView({
  1. Key? key,
  2. required Widget child,
  3. ScrollController? controller,
  4. Axis scrollDirection = Axis.vertical,
  5. EdgeInsets? padding,
  6. FocusNode? focusNode,
})

Creates a SingleChildScrollView with the given child.

Implementation

const SingleChildScrollView({
  super.key,
  required this.child,
  this.controller,
  this.scrollDirection = Axis.vertical,
  this.padding,
  this.focusNode,
});