BlockComponentBackgroundColorDecorator typedef

BlockComponentBackgroundColorDecorator = Color? Function(Node node, String colorString)

If you want to customize the logic of how to convert a color string to a Color, you can set this variable.

Implementation

typedef BlockComponentBackgroundColorDecorator = Color? Function(
  Node node,
  String colorString,
);