TabBarView constructor Null safety

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

Implementation

const factory TabBarView(
    {final Key? key,
    required final List<Widget> children,
    final ScrollPhysics? physics,
    final DragStartBehavior dragStartBehavior,
    final double viewportFraction,
    final Clip clipBehavior}) = _$TabBarView;