1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59: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_for_file: lines_longer_than_80_chars
// ignore: implementation_imports
import 'package:file_picker/src/file_picker_web.dart'; import 'package:file_picker/src/file_picker_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart'; import 'package:flutter_web_plugins/flutter_web_plugins.dart';
import 'package:shared_preferences_web/shared_preferences_web.dart'; import 'package:shared_preferences_web/shared_preferences_web.dart';

View File

@ -106,14 +106,20 @@ class _AuthorizedGroupPageScreenState
child: Column( child: Column(
children: [ children: [
_buildGroupPageHeader(), _buildGroupPageHeader(),
Material( Row(
children: [
Expanded(
child: Material(
color: _headerColor, color: _headerColor,
child: TabBar( child: TabBar(
isScrollable: _tabController.length > 4, isScrollable: true,
tabs: _tabs.map((e) => e.tab).toList(), tabs: _tabs.map((e) => e.tab).toList(),
controller: _tabController, controller: _tabController,
), ),
), ),
),
],
),
Expanded( Expanded(
child: TabBarView( child: TabBarView(
controller: _tabController, controller: _tabController,