From 18636603336f77787a8b937e98fccbea7dce5c63 Mon Sep 17 00:00:00 2001 From: Simone Stasi Date: Fri, 5 Jan 2024 13:59:17 +0100 Subject: [PATCH] fix material3 TabBar style --- .../pull_request_detail/screen_pull_request_detail.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/src/screens/pull_request_detail/screen_pull_request_detail.dart b/lib/src/screens/pull_request_detail/screen_pull_request_detail.dart index 89c66d55..c69bb884 100644 --- a/lib/src/screens/pull_request_detail/screen_pull_request_detail.dart +++ b/lib/src/screens/pull_request_detail/screen_pull_request_detail.dart @@ -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'),