TDTabBarView constructor
const
TDTabBarView({
- Key? key,
- required List<
Widget> children, - TabController? controller,
- 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());