hoverElevation property

  1. @override
double? hoverElevation
final

Depth of the button's shadow when the mouse hovers over it.

Defaults to 0.0.

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    actionButton: ChatActionButton(
      hoverElevation: 6.0,
    ),
  );
}

Implementation

@override
final double? hoverElevation;