TabData constructor
const
TabData({})
Constructs a TabData instance with the following parameters:
- iconData: Icon data to be displayed in the tab.
- title: Text to be displayed inside the tab.
- onClick: Function to be called when the tab is clicked.
- tabColor: Background color of the tab.
- borderRadius: Border radius of the tab.
- tabGradient: Background gradient of the tab.
- key: Unique key for the tab.
Implementation
const TabData({
required this.iconData,
required this.title,
this.onClick,
this.tabColor,
this.borderRadius,
this.tabGradient,
this.key,
});