headerPadding property

EdgeInsetsGeometry headerPadding
final

Customizes padding to the header section of the bubble (if applicable).

Defaults to EdgeInsetsDirectional.only(top:14.0, bottom: 4.0).

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    incomingBubbleSettings: ChatBubbleSettings(
      headerPadding:
          const EdgeInsetsDirectional.only(top: 14.0, bottom: 4.0),
    ),
    outgoingBubbleSettings: ChatBubbleSettings(
      headerPadding:
          const EdgeInsetsDirectional.only(top: 14.0, bottom: 4.0),
    ),
  );
}

Implementation

final EdgeInsetsGeometry headerPadding;