ListViewCustom constructor Null safety

const ListViewCustom(
  1. {Key? key,
  2. Axis scrollDirection,
  3. bool reverse,
  4. bool? primary,
  5. ScrollPhysics? physics,
  6. bool shrinkWrap,
  7. EdgeInsets? padding,
  8. double? itemExtent,
  9. Widget? prototypeItem,
  10. required SliverChildDelegate childrenDelegate,
  11. double? cacheExtent,
  12. int? semanticChildCount,
  13. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior,
  14. String? restorationId,
  15. Clip clipBehavior}
)

Implementation

const factory ListViewCustom(
    {final Key? key,
    final Axis scrollDirection,
    final bool reverse,
    final bool? primary,
    final ScrollPhysics? physics,
    final bool shrinkWrap,
    final EdgeInsets? padding,
    final double? itemExtent,
    final Widget? prototypeItem,
    required final SliverChildDelegate childrenDelegate,
    final double? cacheExtent,
    final int? semanticChildCount,
    final ScrollViewKeyboardDismissBehavior keyboardDismissBehavior,
    final String? restorationId,
    final Clip clipBehavior}) = _$ListViewCustom;