Files
tatuchat/lib/pages/chat_list/tabs/murals_tab.dart
Welton Moura 0037b0b9cf
Some checks failed
Main Deploy Workflow / deploy_web (push) Has been cancelled
Main Deploy Workflow / deploy_playstore_internal (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
Initial commit
2026-09-11 15:59:56 -03:00

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,
),
),
],
),
);
}
}