0 purchases
custom underline tab indicator
To use this package, just use CustomUnderlineTabIndicator like this:
TabBar(
isScrollable: true,
labelColor: AppColors.textWhite,
unselectedLabelColor:
AppColors.textWhite.withOpacity(0.4),
indicatorColor: AppColors.textWhite,
indicatorWeight: 2.0,
indicator: const CustomUnderlineTabIndicator(
gradient: LinearGradient(
colors: [
Color(0xff292828),
Color(0xff373737),
Color(0xff404040),
Color(0xffAAAAAA),
Color(0xff404040),
Color(0xff373737),
Color(0xff292828),
],
),
),
tabs: const [
Tab(
text: "Rewards",
),
Tab(
text: "Offers",
),
],
),
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.