padding property

EdgeInsetsGeometry padding
final

Customizes the padding around the button’s child widget.

Defaults to EdgeInsetsDirectional.only(start: 8.0).

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    actionButton: ChatActionButton(
      padding: EdgeInsets.all(12.0),
    ),
  );
}

Implementation

final EdgeInsetsGeometry padding;