build method

  1. @override
Widget build(
  1. BuildContext context,
  2. QuillController controller,
  3. Embed node,
  4. bool readOnly,
  5. bool inline,
  6. TextStyle? textStyle
)
override

Implementation

@override
Widget build(
  BuildContext context,
  QuillController controller,
  Embed node,
  bool readOnly,
  bool inline,
  TextStyle? textStyle,
) {
  return AspectRatio(
    aspectRatio: 16 / 10,
    child: Card(
      elevation: 1,
      child: Center(
        child: Text(t.video.webNotSupported),
      ),
    ),
  );
}