From 803e3f6ef9630a23620b5584c9cdec2991b5219c Mon Sep 17 00:00:00 2001 From: hunteraraujo Date: Fri, 25 Aug 2023 08:12:35 -0700 Subject: [PATCH] Fix various splash radius for icon buttons --- lib/views/chat/agent_message_tile.dart | 1 + lib/views/chat/chat_input_field.dart | 1 + lib/views/task/task_list_tile.dart | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/views/chat/agent_message_tile.dart b/lib/views/chat/agent_message_tile.dart index d34a8c6d..0777c9dc 100644 --- a/lib/views/chat/agent_message_tile.dart +++ b/lib/views/chat/agent_message_tile.dart @@ -81,6 +81,7 @@ class _AgentMessageTileState extends State { const SizedBox(width: 20), // Expand/Collapse button IconButton( + splashRadius: 0.1, icon: Icon(isExpanded ? Icons.keyboard_arrow_up : Icons.keyboard_arrow_down), diff --git a/lib/views/chat/chat_input_field.dart b/lib/views/chat/chat_input_field.dart index 3ab85735..9082cbb4 100644 --- a/lib/views/chat/chat_input_field.dart +++ b/lib/views/chat/chat_input_field.dart @@ -57,6 +57,7 @@ class _ChatInputFieldState extends State { hintText: 'Type a message...', border: InputBorder.none, suffixIcon: IconButton( + splashRadius: 0.1, icon: const Icon(Icons.send), onPressed: widget.onSendPressed, ), diff --git a/lib/views/task/task_list_tile.dart b/lib/views/task/task_list_tile.dart index d18a2c16..03440f50 100644 --- a/lib/views/task/task_list_tile.dart +++ b/lib/views/task/task_list_tile.dart @@ -68,6 +68,7 @@ class _TaskListTileState extends State { // If the task is selected, show a delete icon if (_isSelected) IconButton( + splashRadius: 0.1, icon: const Icon(Icons.close, color: Colors.black), onPressed: widget.onDelete, ),