build method
Widget
build(
- BuildContext context,
- QuillController controller,
- Embed node,
- bool readOnly,
- bool inline,
- TextStyle textStyle,
Implementation
@override
Widget build(
BuildContext context,
QuillController controller,
Embed node,
bool readOnly,
bool inline,
TextStyle textStyle,
) {
throw UnsupportedError(
'The formula EmbedBuilder is not supported for now.',
);
// assert(!kIsWeb, 'Please provide formula EmbedBuilder for Web');
// final mathController = MathFieldEditingController();
// return Focus(
// onFocusChange: (hasFocus) {
// if (hasFocus) {
// // If the MathField is tapped, hides the built in keyboard
// SystemChannels.textInput.invokeMethod('TextInput.hide');
// debugPrint(mathController.currentEditingValue());
// }
// },
// child: MathField(
// controller: mathController,
// variables: const ['x', 'y', 'z'],
// onChanged: (value) {},
// onSubmitted: (value) {},
// ),
// );
}