RCKEmojiSendButtonConfig constructor

const RCKEmojiSendButtonConfig({
  1. String text = '发送',
  2. double width = 60.0,
  3. double height = 35.0,
  4. Color backgroundColor = Colors.blue,
  5. TextStyle textStyle = const TextStyle(color: Colors.white, fontSize: 15, fontWeight: FontWeight.w500),
  6. double borderRadius = 8.0,
  7. EmojiSendButtonPosition position = EmojiSendButtonPosition.bottomRight,
  8. EdgeInsets margin = const EdgeInsets.only(right: 15.0, bottom: 0.0),
})

Implementation

const RCKEmojiSendButtonConfig({
  this.text = '发送',
  this.width = 60.0,
  this.height = 35.0,
  this.backgroundColor = Colors.blue,
  this.textStyle = const TextStyle(
    color: Colors.white,
    fontSize: 15,
    fontWeight: FontWeight.w500,
  ),
  this.borderRadius = 8.0,
  this.position = EmojiSendButtonPosition.bottomRight,
  this.margin = const EdgeInsets.only(right: 15.0, bottom: 0.0),
});