ifCurrentTransformColorIs static method

bool ifCurrentTransformColorIs(
  1. Color transform(
    1. Color
    )?
)

Same as Themed.ifCurrentTransformColorIs( ... ).

Returns true if the given color transform is equal to the current one.

Implementation

static bool ifCurrentTransformColorIs(Color Function(Color)? transform) =>
    _ifCurrentTransformColorIs(transform);