decoration property

  1. @override
InputDecoration? decoration
final

The decoration property specifies the visual styling and layout for the composer input text.

Example:

@override
Widget build(BuildContext context) {
  return SfAIAssistView(
    composer: AssistComposer(
      decoration: InputDecoration(
        border: OutlineInputBorder(
          borderRadius: BorderRadius.all(Radius.circular(42.0)))),
        hintText: 'Type a message...',
      ),
    )
  );
}

Implementation

@override
final InputDecoration? decoration;