46 lines
1.3 KiB
Dart
46 lines
1.3 KiB
Dart
// SPDX-FileCopyrightText: 2019-Present Christian Kußowski
|
|
// SPDX-FileCopyrightText: 2019-Present Contributors to FluffyChat
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
import 'package:material_ui/material_ui.dart';
|
|
import 'package:tatchat/l10n/l10n.dart';
|
|
import 'package:tatchat/pages/chat_list/tabs/empty_tab_view.dart';
|
|
|
|
class MuralsTab extends StatelessWidget {
|
|
const MuralsTab({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
final l10n = L10n.of(context);
|
|
return ColoredBox(
|
|
color: Theme.of(context).colorScheme.surface,
|
|
child: CustomScrollView(
|
|
slivers: [
|
|
SliverToBoxAdapter(
|
|
child: Padding(
|
|
padding: const EdgeInsets.all(16.0),
|
|
child: Row(
|
|
children: [
|
|
Icon(
|
|
Icons.dashboard_outlined,
|
|
color: Theme.of(context).colorScheme.primary,
|
|
),
|
|
const SizedBox(width: 8),
|
|
Text(l10n.murals, style: Theme.of(context).textTheme.titleLarge),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
SliverFillRemaining(
|
|
hasScrollBody: false,
|
|
child: EmptyTabView(
|
|
icon: Icons.dashboard_outlined,
|
|
title: l10n.muralsComingSoon,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
} |