splashColor property

Color? splashColor
final

Color of the splash effect generated when the button is pressed.

Defaults to null.

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    actionButton: ChatActionButton(
      splashColor: Colors.red,
    ),
  );
}

Implementation

final Color? splashColor;