Skip to content

Commit

Permalink
fix material3 TabBar style
Browse files Browse the repository at this point in the history
  • Loading branch information
sstasi95 committed Jan 5, 2024
1 parent d46e3c2 commit 1863660
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ class _PullRequestDetailScreen extends StatelessWidget {
onTap: (i) => ctrl.selectPage(i, DefaultTabController.of(ctx)),
indicatorPadding: const EdgeInsets.symmetric(horizontal: 24),
labelPadding: EdgeInsets.zero,
dividerColor: Colors.transparent,
overlayColor: MaterialStatePropertyAll(Colors.transparent),
indicatorSize: TabBarIndicatorSize.tab,
indicatorColor: context.colorScheme.secondary,
labelColor: context.colorScheme.secondary,
unselectedLabelColor: context.colorScheme.onBackground.withOpacity(.8),
labelStyle: context.textTheme.labelLarge,
unselectedLabelStyle: context.textTheme.labelLarge,
tabs: const [
Tab(text: 'Overview'),
Tab(text: 'Files'),
Expand Down

0 comments on commit 1863660

Please sign in to comment.