rich_textfield 1.0.0 copy "rich_textfield: ^1.0.0" to clipboard
rich_textfield: ^1.0.0 copied to clipboard

A Rich EditText package for flutter.

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)
  ),
);
1
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A Rich EditText package for flutter.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on rich_textfield