TabItem<T> constructor

const TabItem<T>({
  1. required T icon,
  2. String? title,
  3. Widget? count,
  4. String? key,
})

Implementation

const TabItem({
  required this.icon,
  this.title,
  this.count,
  this.key,
}) : assert(icon is IconData || icon is Widget, 'TabItem only support IconData and Widget');