FloatStyleMethodProp constructor
Implementation
FloatStyleMethodProp(String type, [double defaultValue = undefined])
: super(((consumer, value) {
if (consumer is StyleNode && value is double) {
consumer.setPropFloat(type, value);
}
}), defaultValue);