switch_tab
A flutter package that allows toggling as a tab bar.
Getting started
Add the dependency to pubspec.yaml
:
switch_tab:
Import package
import 'package:switch_tab/switch_tab.dart';
Example
SwitchTab(
text: const ["Flutter", "React Native"],
shape: SwitchTabShape.rectangle,
thumbColor: Colors.orange,
onValueChanged: (index) {},
)
Contributing
Any kind of support in the form of reporting bugs, answering questions or PRs is always appreciated.