setHint method

void setHint(
  1. String? text
)

setHint to give placeholder

Implementation

void setHint(String? text) {
  String hint = '\$(".note-placeholder").html("$text");';
  _webViewController!.runJavaScript('setTimeout(function(){$hint}, 0);');
}