margin property

Customizes the margin around the text input field.

Defaults to EdgeInsets.only(top: 16.0).

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    composer: ChatComposer(
      margin: const EdgeInsets.only(top: 16.0),
    )
  );
}

Implementation

@override
final EdgeInsetsGeometry margin;