Monday 29 June 2020

A non-null String must be provided to a Text widget in Flutter

A non-null String must be provided to a Text widget in Flutter

you can check null safe .
new Text(cart_prod_qty!=null?cart_prod_qty:'Default Value'),

2 comments:

  1. My coder is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the expenses. But he's tryiong none the less. I've been using WordPress on several websites for about a year and am nervous about switching to another platform. I have heard good things about blogengine.net. Is there a way I can transfer all my wordpress posts into it? Any help would be greatly appreciated!
    app entwickeln berlin

    ReplyDelete