From aaad53b91b1e83556b4d2ae89ae6e627c1446f54 Mon Sep 17 00:00:00 2001 From: mark8044 <87546778+mark8044@users.noreply.github.com> Date: Mon, 11 Dec 2023 20:03:29 -0800 Subject: [PATCH] Update quill_icon_theme.dart Add padding to IconTheme --- lib/src/models/themes/quill_icon_theme.dart | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/src/models/themes/quill_icon_theme.dart b/lib/src/models/themes/quill_icon_theme.dart index ca70b800..a04e0fa0 100644 --- a/lib/src/models/themes/quill_icon_theme.dart +++ b/lib/src/models/themes/quill_icon_theme.dart @@ -1,5 +1,5 @@ import 'package:flutter/widgets.dart' show Color; - +import 'package:flutter/material.dart'; import 'package:meta/meta.dart' show immutable; @immutable @@ -11,7 +11,8 @@ class QuillIconTheme { this.iconUnselectedFillColor, this.disabledIconColor, this.disabledIconFillColor, - this.borderRadius}); + this.borderRadius, + this.padding}); ///The color to use for selected icons in the toolbar final Color? iconSelectedColor; @@ -33,4 +34,7 @@ class QuillIconTheme { ///The borderRadius for icons final double? borderRadius; + + ///The padding for icons + final EdgeInsets? padding; }