banai_tabbar 1.0.1 copy "banai_tabbar: ^1.0.1" to clipboard
banai_tabbar: ^1.0.1 copied to clipboard

outdated

This plug-in is designed to solve the problem of jitter in enlarging and reducing the tabbar font of flutter.

banai_tabbar #

This plug-in is designed to solve the problem of jitter in enlarging and reducing the tabbar font of flutter.

1、The fontSize property of labelStyle cannot be set
2、The fontSize property of unselectedLabelStyle must be set
3、The fontSize property of unselectedLabelStyle must be greater than 0
4、labelFontSize replaces the fontSize property of labelStyle

Preview #

https://user-images.githubusercontent.com/21274377/128660549-64f90736-beb6-4ab4-b45e-fd4245765c79.mp4

Getting Started #

Add dependency

dependencies:
  banai_tabbar: ^last version

Super simple to use #

BanaiTabbar(
	controller: _tabConroller,
	isScrollable: true,
	indicator: const BoxDecoration(),
	unselectedLabelColor:Colors.black38,
	labelColor:Colors.pinkAccent,
	unselectedLabelStyle: TextStyle(
		fontSize: 16,
	),
	labelFontSize: 30,
	onChange: (int currentIndex){
		print(currentIndex);
	},
	onAnimatedChange: (double animatedValue,double diff){
		print("animatedValue:$animatedValue   diff:$diff");
	},
	tabs: [
		for (var i = 0; i < tablist.length; i++) 
		Text(tablist[i])
	],
),

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

2
likes
0
pub points
17%
popularity

Publisher

verified publisherbanai.com.cn

This plug-in is designed to solve the problem of jitter in enlarging and reducing the tabbar font of flutter.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on banai_tabbar