rrousselGit / functional_widget

A code generator to write widgets as function without loosing the benefits of classes.
596 stars 46 forks source link

Positional optional parameters are not propagated #110

Closed westito closed 1 year ago

westito commented 1 year ago

For named parameters it is solved in this PR: https://github.com/rrousselGit/functional_widget/pull/45 https://github.com/rrousselGit/functional_widget/issues/44

But positional paramters' default value still not generated

rrousselGit commented 1 year ago

Positional optionals don't make sense, as keys are named optionals.

Dart does not support both positional + named optionals.

rrousselGit commented 1 year ago

Closing as we cannot support positional optionals since widgets already use named parameters