1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 04:49:21 +00:00

Fix appearance issue

This commit is contained in:
Pierre HUBERT 2021-04-07 16:16:33 +02:00
parent 5bca30b634
commit 7497fc5c65
2 changed files with 13 additions and 8 deletions

View File

@ -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';

View File

@ -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(