3

I have a Flutter Mobile App where the user can insert their data on text field. I'd like give to the users the possibility to use HTML tag to compose their "cool" description (bold text, italic, etc..).

Can I do something like this for the user? (see attached image)

enter image description here

2

1 Answer 1

2
html_editor_enhanced: ^2.5.0

check it

import 'package:html_editor/html_editor.dart';
HtmlEditorController controller = HtmlEditorController();

@override Widget build(BuildContext context) {
 return HtmlEditor(
controller: controller,
 htmlEditorOptions: HtmlEditorOptions(
  hint: "Your text here...",
 ), 
 otherOptions: OtherOptions(
);
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.