TDTabBarView constructor

  1. @override
const TDTabBarView({
  1. Key? key,
  2. required List<Widget> children,
  3. TabController? controller,
  4. bool isSlideSwitch = false,
})

Implementation

@override
const TDTabBarView({
  Key? key,
  required this.children,
  this.controller,
  this.isSlideSwitch = false,
}) : super(
          key: key,
          children: children,
          controller: controller,
          physics: isSlideSwitch
              ? const ScrollPhysics()
              : const NeverScrollableScrollPhysics());