Skip to content

Commit

Permalink
chore: dart fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PeronGH committed Jan 20, 2024
1 parent 1e9fde3 commit 864b07c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/pages/chat_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import 'package:sydney_webui/widgets/settings_dialog.dart';
class ChatPage extends StatelessWidget {
final controller = Get.put(Controller());

ChatPage({Key? key}) : super(key: key);
ChatPage({super.key});

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/chat_drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:get/get.dart';
import 'package:sydney_webui/controller.dart';

class ChatDrawer extends StatelessWidget {
const ChatDrawer({Key? key}) : super(key: key);
const ChatDrawer({super.key});

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/image_upload_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:pasteboard/pasteboard.dart';
import 'package:sydney_webui/controller.dart';

class ImageUploadDialog extends StatelessWidget {
const ImageUploadDialog({Key? key}) : super(key: key);
const ImageUploadDialog({super.key});

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/message_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:sydney_webui/models/message.dart';
import 'package:sydney_webui/widgets/message_tile.dart';

class MessageList extends StatelessWidget {
const MessageList({Key? key}) : super(key: key);
const MessageList({super.key});

@override
Widget build(BuildContext context) {
Expand Down
4 changes: 2 additions & 2 deletions lib/widgets/message_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import 'package:flutter_markdown_latex/flutter_markdown_latex.dart';

class MessageTile extends StatelessWidget {
const MessageTile({
Key? key,
super.key,
required this.message,
required this.index,
this.isBeingGenerated = false,
}) : super(key: key);
});

final Message message;
final int index;
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/prompt_input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:sydney_webui/controller.dart';
import 'package:sydney_webui/widgets/image_upload_dialog.dart';

class PromptInput extends StatelessWidget {
const PromptInput({Key? key}) : super(key: key);
const PromptInput({super.key});

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/settings_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:get/get.dart';
import 'package:sydney_webui/controller.dart';

class SettingsDialog extends StatelessWidget {
const SettingsDialog({Key? key}) : super(key: key);
const SettingsDialog({super.key});

@override
Widget build(BuildContext context) {
Expand Down

0 comments on commit 864b07c

Please sign in to comment.