From c6409d8fbfb66bcf00c4b20b531566a737c4ad86 Mon Sep 17 00:00:00 2001 From: Oxana Kostikova Date: Tue, 30 May 2023 21:08:09 +0200 Subject: [PATCH] Add icon color to custom button --- lib/src/models/themes/quill_custom_button.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/models/themes/quill_custom_button.dart b/lib/src/models/themes/quill_custom_button.dart index 4ea4e4f5..791b7095 100644 --- a/lib/src/models/themes/quill_custom_button.dart +++ b/lib/src/models/themes/quill_custom_button.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; class QuillCustomButton { const QuillCustomButton({ this.icon, + this.iconColor, this.onTap, this.tooltip, }); @@ -10,6 +11,9 @@ class QuillCustomButton { ///The icon widget final IconData? icon; + ///The icon color; + final Color? iconColor; + ///The function when the icon is tapped final VoidCallback? onTap;