parent
1f42da82fb
commit
463ecaba6e
2 changed files with 22 additions and 11 deletions
@ -1,11 +1,14 @@ |
||||
import 'package:flutter/material.dart'; |
||||
|
||||
class QuillCustomButton { |
||||
const QuillCustomButton({this.icon, this.onTap}); |
||||
const QuillCustomButton({this.icon, this.onTap, this.child}); |
||||
|
||||
///The icon widget |
||||
final IconData? icon; |
||||
|
||||
///The function when the icon is tapped |
||||
final VoidCallback? onTap; |
||||
|
||||
///The customButton placeholder |
||||
final Widget? child; |
||||
} |
||||
|
Loading…
Reference in new issue