decoration property
Customizes the decoration of the text input field.
Defaults to null
.
Example:
@override
Widget build(BuildContext context) {
return SfChat(
composer: ChatComposer(
decoration: InputDecoration(
border: OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(42.0)))),
hintText: 'Type a message...',
),
)
);
}
Implementation
final InputDecoration? decoration;