emoji_picker 0.0.3 copy "emoji_picker: ^0.0.3" to clipboard
emoji_picker: ^0.0.3 copied to clipboard

discontinued
outdated

A Flutter package that provides an Emoji Keyboard widget.

example/lib/main.dart

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

void main() => runApp(MainApp());

class MainApp extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: "Test",
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          title: Text("Emoji Picker Test"),
        ),
        body: MainPage(),
      ),
    );
  }

}

class MainPage extends StatefulWidget {

  @override
  MainPageState createState() => new MainPageState();

}

class MainPageState extends State<MainPage> {

  @override
  Widget build(BuildContext context) {


    return EmojiPicker(
      rows: 3,
      columns: 7,
      buttonMode: ButtonMode.MATERIAL,
      recommendKeywords: ["racing", "horse"],
      numRecommended: 10,
      onEmojiSelected: (emoji, category) {
        print(emoji);
      },
    );

  }

}
94
likes
30
pub points
86%
popularity

Publisher

unverified uploader

A Flutter package that provides an Emoji Keyboard widget.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on emoji_picker