shape property

  1. @override
ShapeBorder? shape
final

Shape of the button border.

Defaults to null.

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    actionButton: ChatActionButton(
      shape: RoundedRectangleBorder(
        borderRadius: BorderRadius.circular(8.0),
      ),
    ),
  );
}

Implementation

@override
final ShapeBorder? shape;