parent
d2b308dc4d
commit
1a0dfa1d45
2 changed files with 43 additions and 1 deletions
@ -0,0 +1,32 @@ |
|||||||
|
import 'package:flutter/material.dart'; |
||||||
|
|
||||||
|
import '../../models/themes/quill_dialog_theme.dart'; |
||||||
|
import '../../models/themes/quill_icon_theme.dart'; |
||||||
|
import '../controller.dart'; |
||||||
|
import '../toolbar.dart'; |
||||||
|
|
||||||
|
class SearchButton extends StatelessWidget { |
||||||
|
const SearchButton({ |
||||||
|
required this.icon, |
||||||
|
required this.controller, |
||||||
|
this.iconSize = kDefaultIconSize, |
||||||
|
this.iconTheme, |
||||||
|
this.dialogTheme, |
||||||
|
Key? key, |
||||||
|
}) : super(key: key); |
||||||
|
|
||||||
|
final IconData icon; |
||||||
|
final double iconSize; |
||||||
|
|
||||||
|
final QuillController controller; |
||||||
|
|
||||||
|
final QuillIconTheme? iconTheme; |
||||||
|
|
||||||
|
final QuillDialogTheme? dialogTheme; |
||||||
|
|
||||||
|
@override |
||||||
|
Widget build(BuildContext context) { |
||||||
|
// TODO: implement floating search bar |
||||||
|
return const SizedBox(); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue