New chat menu

This commit is contained in:
2024-04-19 19:48:31 +08:00
parent ac280f2d40
commit 9ac7357e49
4 changed files with 34 additions and 14 deletions

View File

@@ -1,3 +1,4 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
@@ -19,6 +20,20 @@ class ChatNewAction extends StatelessWidget {
style: Theme.of(context).textTheme.headlineSmall,
),
),
Expanded(
child: ListView(
children: [
ListTile(
leading: const Icon(Icons.add),
title: Text(AppLocalizations.of(context)!.chatNewCreate),
),
ListTile(
leading: const Icon(Icons.travel_explore),
title: Text(AppLocalizations.of(context)!.chatNewJoin),
),
],
),
),
],
),
);