From 2f21721ed0c5386b4a3781dd5dd2d8a49a2fe2bb Mon Sep 17 00:00:00 2001 From: mark8044 <87546778+mark8044@users.noreply.github.com> Date: Mon, 9 May 2022 19:31:47 -0700 Subject: [PATCH] Create quill_custom_icon.dart --- lib/src/models/themes/quill_custom_icon.dart | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lib/src/models/themes/quill_custom_icon.dart diff --git a/lib/src/models/themes/quill_custom_icon.dart b/lib/src/models/themes/quill_custom_icon.dart new file mode 100644 index 00000000..e25b3f10 --- /dev/null +++ b/lib/src/models/themes/quill_custom_icon.dart @@ -0,0 +1,13 @@ +import 'package:flutter/material.dart'; + +class QuillCustomIcon { + const QuillCustomIcon( + {this.icon, + this.onTap}); + + ///The icon widget + final Widget? icon; + + ///The function when the icon is tapped + final VoidCallback? onTap; +}