Files
tatuchat/lib/pages/chat_list/start_chat_fab.dart
Welton Moura 5d97feda86
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
alterações em telas
2026-09-12 16:07:05 -03:00

23 lines
735 B
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:go_router/go_router.dart';
import 'package:material_ui/material_ui.dart';
class StartChatFab extends StatelessWidget {
const StartChatFab({super.key});
@override
Widget build(BuildContext context) {
return FloatingActionButton(
heroTag: 'start_chat_fab',
backgroundColor: Theme.of(context).colorScheme.primary,
foregroundColor: Theme.of(context).colorScheme.onPrimary,
onPressed: () => context.go('/rooms/newprivatechat'),
shape: const CircleBorder(),
child: const Icon(Icons.add),
);
}
}