Widget.tabBarView constructor Null safety

const Widget.tabBarView(
  1. {Key? key,
  2. required List<Widget> children,
  3. ScrollPhysics? physics,
  4. @Default(DragStartBehavior.start) DragStartBehavior dragStartBehavior,
  5. @Default(1.0) double viewportFraction,
  6. @Default(Clip.hardEdge) Clip clipBehavior}
)

Implementation

const factory Widget.tabBarView({
  Key? key,
  required List<Widget> children,
  ScrollPhysics? physics,
  @Default(DragStartBehavior.start) DragStartBehavior dragStartBehavior,
  @Default(1.0) double viewportFraction,
  @Default(Clip.hardEdge) Clip clipBehavior,
}) = TabBarView;