parent
ad642da044
commit
ce97e29091
5 changed files with 46 additions and 37 deletions
@ -1,22 +1,22 @@ |
|||||||
import 'package:flutter/material.dart'; |
// import 'package:flutter/material.dart'; |
||||||
|
|
||||||
import '../../widgets/toolbar/base_toolbar.dart'; |
// import '../../widgets/toolbar/base_toolbar.dart'; |
||||||
|
|
||||||
class QuillCustomButton extends QuillToolbarBaseButtonOptions { |
// class QuillCustomButton extends QuillToolbarBaseButtonOptions { |
||||||
const QuillCustomButton({ |
// const QuillCustomButton({ |
||||||
this.icon, |
// this.icon, |
||||||
this.onTap, |
// this.onTap, |
||||||
super.tooltip, |
// super.tooltip, |
||||||
this.child, |
// this.child, |
||||||
super.iconTheme, |
// super.iconTheme, |
||||||
}); |
// }); |
||||||
|
|
||||||
/// The icon widget |
// /// The icon widget |
||||||
final Widget? icon; |
// final Widget? icon; |
||||||
|
|
||||||
/// The function when the icon is tapped |
// /// The function when the icon is tapped |
||||||
final VoidCallback? onTap; |
// final VoidCallback? onTap; |
||||||
|
|
||||||
/// The customButton placeholder |
// /// The customButton placeholder |
||||||
final Widget? child; |
// final Widget? child; |
||||||
} |
// } |
||||||
|
Loading…
Reference in new issue