fleather
fleather copied to clipboard
Add hintText for editor
Currently it's impossible to set hint text for the editor
Have you considered using ’FleatherField’? @komakur
Have you considered using ’FleatherField’? @komakur
if it gives same functionalities as FleatherEditor I might consider using that. But I didn't find clear docs about FleatherField
if it gives same functionalities as FleatherEditor I might consider using that. But I didn't find clear docs about FleatherField
Yeah, sorry about that. Documentation needs a lot of improvements.
But, it's exposed by the fleather
package and wraps the FleatherEditor
with InputDecoration
which can be customized.
oh, I see now Thanks a lot)
@Amir-P the problem now, that the toolbar in FleatherField is always at the bottom, thus is visible when its focused. I think that should be customisable
What do you mean by toolbar? Providing a screenshot or video may help. @komakur
By toolbar I mean toolbar param in FleatherField. You can simply go to FleatherField impl and check the implementation
The toolbar
param is useful when you want to show toolbar below field but inside the input decorator. If you want your toolbar to be on top, don't use toolbar
param of FleatherField
and instead add toolbar widget by yourself. For example:
Column(
children: [
FleatherToolbar.basic(controller: controller),
FleatherField(controller: controller),
],
)
Closing this issue for now as it has been stale for a while. Feel free to re-open