super_tabs 0.2.3
SDKflutter
Platformandroidioswindowslinuxmacosweb
To be change between different tabs like segments
IMPORTANT INFORMATION
You have to add only 3 String in Super Tabs.
Features
Change the segment with different tabs or pages with beautiful Super Tab.
Getting started
Install the Package
flutter pub add super_tabs
Import the Package
import 'package:super_tabs/super_tabs.dart';
Usage
int selectedIndex = 0;
SuperTabs(
list: const [
"Current",
"Completed",
"Cancelled",
],
selectedColor: Colors.indigo,
unselectedColor: Colors.white,
selectedIndex: selectedIndex,
onClick: (int value) {
setState(() {
selectedIndex = value;
});
},
),
Additional information
This package can be use to change between the segments with a beautiful Super Tab. If you have any issue with the package you can create an issue in Github.