StyleMethodProp constructor

const StyleMethodProp(
  1. dynamic method(
    1. StyleMethodPropConsumer consumer,
    2. Object? value
    ),
  2. Object? defaultValue
)

Implementation

const StyleMethodProp(this.method, this.defaultValue);