Replies: 2 comments
-
You would be better off extracting the deaultEmbedBuilder file from source, rename and copy to your own workspace, there are quite a bit of other issues with that file, you could clean up the code and fix those issues in your own version and make it fit better with your need. I suspect they don't consider deaultEmbedBuilder a core asset for this package, it is probably there for demo and is meant to be overwritten by users of this package anyway. |
Beta Was this translation helpful? Give feedback.
-
We consider deaultEmbedBuilder a core asset for this package. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To reuse defaultEmbedBuilder in my custom builder I have to use direct import:
import 'package:flutter_quill/src/widgets/embeds/default_embed_builder.dart';
Linter gives me warning about such import.
Beta Was this translation helpful? Give feedback.
All reactions