0 purchases
chrome tab bar
Chrome Tab Bar #
Chrome Tab Bar with custom corner radius, background color, tab selected color, tab text, and many more.
Installation #
Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
chrome_tab_bar: ^1.0.3
copied to clipboard
Import the package and use it in your Flutter App.
import 'package:chrome_tab_bar/fancy_containers.dart';
copied to clipboard
class HomePage extends StatefulWidget {
const HomePage({Key? key}) : super(key: key);
@override
State<HomePage> createState() => _HomePageState();
}
class _HomePageState extends State<HomePage> {
@override
Widget build(BuildContext context) {
return ChromeTabBar(
tabSelectedColor: Colors.white,
backgroundColor: Colors.blue,
tabsList: const [
SizedBox(),
SizedBox(),
SizedBox(),
SizedBox(),
SizedBox(),
],
tabText:const [
"Tab One",
"Tab Two",
"Tab Three",
"Tab Four",
"Tab Five",
],
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.