splashColor property

  1. @override
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

@override
final Color? splashColor;