interiorWidget method
Implementation
Widget interiorWidget() {
return InkWell(
onTap: () {
setState(() {
_inputType = InputType.text;
});
focusNode.requestFocus();
},
child: Row(
textDirection: widget.textDirection,
children: [
Container(
margin: const EdgeInsets.all(4),
width: 24,
child: widget.inputIcon ??
ChatImageLoader.inputChat(
color: const Color.fromRGBO(255, 255, 255, 0.8),
),
),
Expanded(
child: Padding(
padding: const EdgeInsets.only(right: 4, left: 4),
child: Text(
// widget.inputHint ?? 'Let\'s chat',
widget.inputHint ?? ChatroomLocal.startChat.getString(context),
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: const Color.fromRGBO(255, 255, 255, 0.8),
fontSize: ChatUIKitTheme.of(context).font.bodyLarge.fontSize,
fontWeight:
ChatUIKitTheme.of(context).font.bodyLarge.fontWeight,
),
),
),
)
],
),
);
}