updatePreview method

void updatePreview({
  1. String fluttermojiNew = '',
})

Adds fluttermoji new string to fluttermoji in GetX Controller

Implementation

void updatePreview({
  String fluttermojiNew = '',
}) {
  if (fluttermojiNew.isEmpty) {
    fluttermojiNew = getFluttermojiFromOptions();
  }
  fluttermoji.value = fluttermojiNew;
  update();
}