buijs-dev/klutter

Subscriber widget argument should be `builder` not `child`

Closed this issue ยท 3 comments

Subscriber widgets take a Widget child(value) argument. In the Flutter API, all such arguments are called builder, so calling it builder would make things easier to understand (child arguments are actual Widget objects, not functions). Also, it should pass the BuildContext as a context argument: Widget builder(context, value).

Thanks for the feedback. ๐Ÿ‘

Think I'll add this to 2023.2.1.beta

Change added to klutter_ui 1.0.0.
Will bump klutter_ui version in klutter dart/gradle libs.