foregroundColor property

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

final Color? foregroundColor;