TTab constructor

const TTab({
  1. IconData? icon,
  2. String? text,
  3. bool isEnabled = true,
  4. bool isActive = false,
})

Implementation

const TTab({
  this.icon,
  this.text,
  this.isEnabled = true,
  this.isActive = false,
}) : assert(icon != null || text != null, 'Either icon or text must be provided');