From 7497fc5c65c9a9c89ac80f44b3c0cd73474a353e Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Wed, 7 Apr 2021 16:16:33 +0200 Subject: [PATCH] Fix appearance issue --- lib/generated_plugin_registrant.dart | 1 - .../screens/authorized_group_page_screen.dart | 20 ++++++++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/lib/generated_plugin_registrant.dart b/lib/generated_plugin_registrant.dart index 910f932..fe73bc1 100644 --- a/lib/generated_plugin_registrant.dart +++ b/lib/generated_plugin_registrant.dart @@ -4,7 +4,6 @@ // ignore_for_file: lines_longer_than_80_chars -// ignore: implementation_imports import 'package:file_picker/src/file_picker_web.dart'; import 'package:flutter_web_plugins/flutter_web_plugins.dart'; import 'package:shared_preferences_web/shared_preferences_web.dart'; diff --git a/lib/ui/screens/authorized_group_page_screen.dart b/lib/ui/screens/authorized_group_page_screen.dart index 51b9d4d..f1de4ec 100644 --- a/lib/ui/screens/authorized_group_page_screen.dart +++ b/lib/ui/screens/authorized_group_page_screen.dart @@ -106,13 +106,19 @@ class _AuthorizedGroupPageScreenState child: Column( children: [ _buildGroupPageHeader(), - Material( - color: _headerColor, - child: TabBar( - isScrollable: _tabController.length > 4, - tabs: _tabs.map((e) => e.tab).toList(), - controller: _tabController, - ), + Row( + children: [ + Expanded( + child: Material( + color: _headerColor, + child: TabBar( + isScrollable: true, + tabs: _tabs.map((e) => e.tab).toList(), + controller: _tabController, + ), + ), + ), + ], ), Expanded( child: TabBarView(