Closed trhagado closed 1 year ago
Hi @trhagado !
Now you can use a builder:
List<TabData> tabs = [
TabData(
text: 'Tab 1',
leading: (context, status) => Icon(Icons.star, size: 16)),
TabData(text: 'Tab 2'),
TabData(text: 'Tab 3')
];
TabbedView tabbedView = TabbedView(controller: TabbedViewController(tabs));
Works great, thanks.
Feature Request: Allow an optional prefix icon on tab headers in front of the the tab text and any tab buttons. This feature is available for many desktop widget packages (see example below) and would be very helpful in the tabbed_view widget.