twemoji 0.1.0 copy "twemoji: ^0.1.0" to clipboard
twemoji: ^0.1.0 copied to clipboard

outdated

Twitter Emojis for Flutter

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:twemoji/twemoji.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({
    Key? key,
  }) : super(key: key);

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Flutter Demo Home Page'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            RichText(
              text: TwemojiTextSpan(
                text: 'Text πŸ•πŸ”πŸŒ­πŸΏπŸ§‚πŸ₯“πŸ₯¨πŸ₯πŸžπŸ₯žπŸ₯ž',
                style: Theme.of(context).textTheme.headline6,
              ),
            ),
          ],
        ),
      ),
    );
  }
}
31
likes
0
points
131
downloads

Publisher

verified publisherhadi.wtf

Weekly Downloads

Twitter Emojis for Flutter

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on twemoji