parent
fe2a8cc577
commit
6242ec056e
1 changed files with 8 additions and 1 deletions
@ -1,11 +1,18 @@ |
|||||||
import 'package:flutter/material.dart'; |
import 'package:flutter/material.dart'; |
||||||
|
|
||||||
class QuillCustomButton { |
class QuillCustomButton { |
||||||
const QuillCustomButton({this.icon, this.onTap}); |
const QuillCustomButton({ |
||||||
|
this.icon, |
||||||
|
this.onTap, |
||||||
|
this.tooltip, |
||||||
|
}); |
||||||
|
|
||||||
///The icon widget |
///The icon widget |
||||||
final IconData? icon; |
final IconData? icon; |
||||||
|
|
||||||
///The function when the icon is tapped |
///The function when the icon is tapped |
||||||
final VoidCallback? onTap; |
final VoidCallback? onTap; |
||||||
|
|
||||||
|
/// The button tooltip. |
||||||
|
final String? tooltip; |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue