Child3 constructor Null safety

const Child3(
  1. {required Widget builder(
    1. Widget child1,
    2. Widget child2,
    3. Widget child3
    ),
  2. Key? key,
  3. required Widget child1,
  4. required Widget child2,
  5. required Widget child3}
)

Implementation

const Child3({
  required this.builder,
  Key? key,
  required this.child1,
  required this.child2,
  required this.child3,
}) : super(key: key);