|
|
@ -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; |
|
|
|
|
|
|
|
|
|
|
|