|
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! |
Answered by
Amir-P
Mar 12, 2025
Replies: 1 comment 1 reply
|
Hi @manudicri, do you mean something like this? FleatherField(
decoration: InputDecoration(labelText: "Label"),
// or
decoration: InputDecoration(hintText: "Label"),
), |
1 reply
Answer selected by
Amir-P
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hi @manudicri, do you mean something like this?