DefaultTabController constructor Null safety

const DefaultTabController(
  1. {Key? key,
  2. required int length,
  3. int initialIndex,
  4. required Widget child,
  5. Duration? animationDuration}
)

Implementation

const factory DefaultTabController(
    {final Key? key,
    required final int length,
    final int initialIndex,
    required final Widget child,
    final Duration? animationDuration}) = _$DefaultTabController;