foregroundColor property

  1. @override
Color? foregroundColor
final

Color of the button's content (icons or text).

Defaults to null.

Example:


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

Implementation

@override
final Color? foregroundColor;