make the compiler happy

This commit is contained in:
zoe 2022-10-01 13:41:18 +02:00
parent 95cecbed9c
commit 0caefbe4b9
3 changed files with 2 additions and 3 deletions

View File

@ -105,7 +105,7 @@ class ConversationButton extends StatelessWidget {
return TextButton.icon(
onPressed: () => showDialog(
context: context,
builder: (context) => Chat(),
builder: (context) => const Chat(),
),
icon: const Icon(Icons.chat),
label: Text("chat".i18n()));

View File

@ -47,7 +47,7 @@ Widget settings(context) {
child: Material(
child: Wrap(
alignment: WrapAlignment.center,
children: [],
children: const [],
),
)),
],

View File

@ -1,7 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:html2md/html2md.dart' as html2md;
import 'package:localization/localization.dart';
import 'package:loris/dialogues/profile_view.dart';
import 'package:url_launcher/url_launcher.dart';
import '../business_logic/account/account.dart' as account;