pushMethodProp method

void pushMethodProp(
  1. String name,
  2. StyleMethodProp? prop
)

Implementation

void pushMethodProp(String name, StyleMethodProp? prop) {
  if (prop == null) {
    throw ArgumentError("push style method prop error , prop is null");
  }
  _styleMethodMap[name] = prop;
}