padding property

  1. @override
EdgeInsetsGeometry padding
final

Customizes the padding around the action button.

Defaults to EdgeInsetsDirectional.only(start: 8.0).

Example:


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

Implementation

@override
final EdgeInsetsGeometry padding;