PrismTabs constructor

const PrismTabs({
  1. Key? key,
  2. required List<PrismTab> tabs,
  3. required int index,
  4. required ValueChanged<int> onChanged,
  5. required List<Widget> children,
  6. double? scrollThreshold,
  7. bool keepAlive = false,
  8. String? semanticLabel,
})

Creates an adaptive tab view.

Implementation

const PrismTabs({
  super.key,
  required this.tabs,
  required this.index,
  required this.onChanged,
  required this.children,
  this.scrollThreshold,
  this.keepAlive = false,
  this.semanticLabel,
});