Skip to content

rich editText with emoji、@Someone、#topic#,for flutter

License

Notifications You must be signed in to change notification settings

534254884/rich_textfield

This branch is up to date with hyz1992/rich_textfield:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b657f9b · Feb 26, 2019

History

6 Commits
Feb 25, 2019
Feb 25, 2019
Feb 26, 2019
Feb 26, 2019
Feb 25, 2019
Feb 25, 2019
Feb 25, 2019
Feb 25, 2019
Feb 25, 2019
Feb 25, 2019
Feb 26, 2019
Feb 26, 2019
Feb 25, 2019

Repository files navigation

rich_textfield

flutter富文本输入框,支持表情、@某人、#话题#

The example screen shot

使用方法

import 'package:rich_textfield/rich_textfield.dart';
MyTextEditingController _editCtrl = new MyTextEditingController(
  topicStyle: new TextStyle(
    fontWeight: FontWeight.bold,
    color: Colors.yellow
  ),
  atStyle: new TextStyle(
    fontWeight: FontWeight.bold,
    color: Colors.green
  ),
  emojiImgSourceType: EmojiImgSourceType.asset
);

Widget ret = new MyTextField(
  controller: _editCtrl,
  focusNode: _focusNode,
  style: new TextStyle(
    fontSize: 20,
    color: const Color.fromARGB(255, 180, 180, 180)
  ),
);

About

rich editText with emoji、@Someone、#topic#,for flutter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 98.8%
  • Other 1.2%