Fidev-io / framy

A convenient code generator for app styleguide, gallery, wireframes and/or storyboard.
https://framy.dev
GNU Lesser General Public License v3.0
148 stars 16 forks source link

Support function parameter dependencies in presets #115

Open MarcinusX opened 4 years ago

MarcinusX commented 4 years ago

Technically, we should be able to support a preset with a dependency.

@framyPreset
User teenageJohn(String lastName) => User(firstName: 'John', lastName: lastName ?? 'Doe', age: 13);

So that preset can decrease and not necessarily remove the number of dependencies.