TapBarUser constructor

const TapBarUser({
  1. Key? key,
  2. required List<TapItem> tabs,
  3. double width = 350,
  4. double height = 350,
  5. Color? indicatorColor,
  6. double elevation = 4,
  7. EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
})

Implementation

const TapBarUser({
  super.key,
  required this.tabs,
  this.width = 350,
  this.height = 350,
  this.indicatorColor,
  this.elevation = 4,
  this.padding = const EdgeInsets.all(8.0),
}) : assert(tabs.length > 0, 'tabs list cannot be empty');