by static method

DrivenColor by(
  1. DrivenPropertyResolver<Color> callback
)
override

Convenience method for creating a DrivenProperty from a DrivenPropertyResolver function alone.

Implementation

static DrivenColor by(DrivenPropertyResolver<Color> callback) {
  return _DrivenColor(callback);
}