RCKEmojiSendButtonConfig constructor
const
RCKEmojiSendButtonConfig({
- String text = '发送',
- double width = 60.0,
- double height = 35.0,
- Color backgroundColor = Colors.blue,
- TextStyle textStyle = const TextStyle(color: Colors.white, fontSize: 15, fontWeight: FontWeight.w500),
- double borderRadius = 8.0,
- EmojiSendButtonPosition position = EmojiSendButtonPosition.bottomRight,
- 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),
});