PrismTab constructor

const PrismTab({
  1. required String label,
  2. IconData? icon,
  3. Widget? badge,
  4. bool enabled = true,
})

Creates a tab.

Implementation

const PrismTab({
  required this.label,
  this.icon,
  this.badge,
  this.enabled = true,
});