-
Hello everyone, I'm currently using the fleather package for rich text editing in my Flutter app and I was wondering if there's a built-in way to add a placeholder to the FleatherField widget, similar to how placeholders work in standard TextField widgets. I couldn't find any reference to a placeholder property in the documentation or in the widget itself. So, I wanted to ask the community if it's possible to implement a placeholder directly in FleatherField, or if there's any recommended workaround to achieve this effect (e.g., overlaying text on top of the editor when it's empty). Thanks in advance for any insights or suggestions! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @manudicri, do you mean something like this? FleatherField(
decoration: InputDecoration(labelText: "Label"),
// or
decoration: InputDecoration(hintText: "Label"),
), |
Beta Was this translation helpful? Give feedback.
Hi @manudicri, do you mean something like this?