0

How can I render text with the special chars like ' in flutter

I have tried using Runnes and Ut8 but not getting the rquired result

1 Answers1

0

you want to render this ' to this ' !

use html_unscape package.

import 'package:html_unescape/html_unescape.dart';

main() {
  var unescape = HtmlUnescape();
  var text = unescape.convert("'");
  print(text); // '
}
Gwhyyy
  • 7,554
  • 3
  • 8
  • 35