Open blaneyneil opened 5 months ago
that's my bug, customDialogBuilder
should return Widget
instead, I've just release 7.0.4
to fix it. Please have a try
Yep, thanks much. I still had to wrap it in a Dialog
for my custom design purposes, but it properly takes any widget now.
When creating a stateful widget for
WebUiSettings
, per your updated example, so that it can be initialized:the
customDialogBuilder
will not actually take a widget. it's throwing with this error:The return type '_CropperWidget' isn't a 'Dialog', as required by the closure's context.