Emojis on flutter web are not displayed

653

can try flutter_emoji package : https://pub.dev/packages/flutter_emoji

Share:
653
Adrien Arcuri
Author by

Adrien Arcuri

Curious I.T engineer who loves to design useful innovative things. Currently working on #Flutter and #Dart. Previously working on #Blockchain #Go #Python

Updated on December 27, 2022

Comments

  • Adrien Arcuri
    Adrien Arcuri over 1 year

    I try to use emojis on flutter web, for example 😀, on a Text() widget, but the emoji does not appear and I get a cross instead.

    Screenshot: enter image description here

    Code:

    
    void main() {
      runApp(MyApp());
    }
    
    class MyApp extends StatelessWidget {
      // This widget is the root of your application.
      @override
      Widget build(BuildContext context) {
        return MaterialApp(
          title: 'Flutter Demo',
          theme: ThemeData(),
          home: Scaffold(body: Text('This is an emoji 😀')),
        );
      }
    }
    

    Do you know how to solve it on flutter web ?

    • Yahya Parvar
      Yahya Parvar over 3 years
      Flutter web is not ready yet, it is better not to use it for production