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 { |
||||
const QuillCustomButton({ |
||||
this.icon, |
||||
this.onTap, |
||||
super.tooltip, |
||||
this.child, |
||||
super.iconTheme, |
||||
}); |
||||
// class QuillCustomButton extends QuillToolbarBaseButtonOptions { |
||||
// const QuillCustomButton({ |
||||
// this.icon, |
||||
// this.onTap, |
||||
// super.tooltip, |
||||
// this.child, |
||||
// super.iconTheme, |
||||
// }); |
||||
|
||||
/// The icon widget |
||||
final Widget? icon; |
||||
// /// The icon widget |
||||
// final Widget? icon; |
||||
|
||||
/// The function when the icon is tapped |
||||
final VoidCallback? onTap; |
||||
// /// The function when the icon is tapped |
||||
// final VoidCallback? onTap; |
||||
|
||||
/// The customButton placeholder |
||||
final Widget? child; |
||||
} |
||||
// /// The customButton placeholder |
||||
// final Widget? child; |
||||
// } |
||||
|
Loading…
Reference in new issue