ModernTabView constructor

const ModernTabView({
  1. Key? key,
  2. required List<ModernTabViewPage> pages,
  3. void onTabChanged(
    1. int
    )?,
  4. int initialIndex = 0,
})

Implementation

const ModernTabView({
  super.key,
  required this.pages,
  this.onTabChanged,
  this.initialIndex = 0,
});