AccentCallback typedef

AccentCallback = void Function(double intensity)

A callback function type definition that takes a double value representing the intensity of the accent.

This callback can be used to handle changes in accent intensity, for example, in a UI component that allows users to adjust the intensity of a neumorphic effect.

The intensity parameter represents the level of intensity, where higher values indicate a stronger effect.

Implementation

typedef AccentCallback = void Function(double intensity);