SingleChildScrollView constructor Null safety

const SingleChildScrollView(
  1. {Key? key,
  2. Axis scrollDirection,
  3. bool reverse,
  4. EdgeInsets? padding,
  5. bool? primary,
  6. ScrollPhysics? physics,
  7. Widget? child,
  8. Clip clipBehavior,
  9. String? restorationId,
  10. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior}
)

Implementation

const factory SingleChildScrollView(
        {final Key? key,
        final Axis scrollDirection,
        final bool reverse,
        final EdgeInsets? padding,
        final bool? primary,
        final ScrollPhysics? physics,
        final Widget? child,
        final Clip clipBehavior,
        final String? restorationId,
        final ScrollViewKeyboardDismissBehavior keyboardDismissBehavior}) =
    _$SingleChildScrollView;