Fix various splash radius for icon buttons

This commit is contained in:
hunteraraujo
2023-08-25 08:12:35 -07:00
parent c08165c66a
commit 803e3f6ef9
3 changed files with 3 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ class _AgentMessageTileState extends State<AgentMessageTile> {
const SizedBox(width: 20),
// Expand/Collapse button
IconButton(
splashRadius: 0.1,
icon: Icon(isExpanded
? Icons.keyboard_arrow_up
: Icons.keyboard_arrow_down),

View File

@@ -57,6 +57,7 @@ class _ChatInputFieldState extends State<ChatInputField> {
hintText: 'Type a message...',
border: InputBorder.none,
suffixIcon: IconButton(
splashRadius: 0.1,
icon: const Icon(Icons.send),
onPressed: widget.onSendPressed,
),

View File

@@ -68,6 +68,7 @@ class _TaskListTileState extends State<TaskListTile> {
// 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,
),