menezes85

Results 13 comments of menezes85

I have exactly the same problem, not working on web.

Hello, @TimHoogstrate I believe that this problem is related to the life cycle of the application, probably there must be some call native to onDestroy for the flutter that is...

``` buildTravelConfirmationWidget( { Color? corTextNormal, double? tamanhoTexto, double? spaceBetweenWidgets, FontWeight? weigthTextoNormal, FontWeight? weigthSubtitulo, required double valorViagem, required String formaPagamento }) { return Column( mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.spaceAround, children:...

``` call: util.showCoolAlert(text: '', title: 'Confirm Travel ?', barrierDismissible: false, coolAlertType: CoolAlertType.confirm, customWidget: buildTravelConfirmationWidget( weigthTextoNormal: weigthTextoNormal, corTextNormal: corTextNormal, tamanhoTexto: tamanhoTexto, spaceBetweenWidgets: spaceBetweenWidgets, weigthSubtitulo: weigthSubtitulo, formaPagamento: formaPagamento, valorViagem: valor ),` ```

on version 1.1.0 my custom widget is displayed normally, on 2.0.1, nothing is showed. i cant upgrade package without this, most part of my alerts uses custom widgets

Found the Error: ![image](https://user-images.githubusercontent.com/43157391/234006876-8efe59d2-2c1b-4b34-b82d-d6e4fb9c035e.png)

Return of _widget results in an Empty Container, forcing to work only if i set CoolAlertType.custom... Independent if is custom or not, customWidget When set must be displayed