data property

Map<String, dynamic>? data
final

Optional additional data to attach to this tab.

Can be used to pass custom metadata, configuration, or any other information that should be associated with the tab.

Example:

TTab(
  value: 0,
  text: 'Products',
  data: {'color': Colors.blue, 'badge': 5, 'route': '/products'},
)

Implementation

final Map<String, dynamic>? data;