ModTab constructor

const ModTab({
  1. required String id,
  2. required String text,
  3. TextStyle? style,
  4. Color? backgroundColor,
  5. VoidCallback? onClose,
  6. bool closeable = false,
  7. Future<bool> onClosing()?,
  8. dynamic data,
  9. Widget? icon,
})

Implementation

const ModTab({
  required this.id,
  required this.text,
  this.style,
  this.backgroundColor,
  this.onClose,
  this.closeable = false,
  this.onClosing,
  this.data,
  this.icon,
});