Add icon color to custom button

pull/1245/head
Oxana Kostikova 2 years ago committed by GitHub
parent 94da3cfd46
commit c6409d8fbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lib/src/models/themes/quill_custom_button.dart

@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
class QuillCustomButton { class QuillCustomButton {
const QuillCustomButton({ const QuillCustomButton({
this.icon, this.icon,
this.iconColor,
this.onTap, this.onTap,
this.tooltip, this.tooltip,
}); });
@ -10,6 +11,9 @@ class QuillCustomButton {
///The icon widget ///The icon widget
final IconData? icon; final IconData? icon;
///The icon color;
final Color? iconColor;
///The function when the icon is tapped ///The function when the icon is tapped
final VoidCallback? onTap; final VoidCallback? onTap;

Loading…
Cancel
Save