vendredi 19 juillet 2019

How to test container's margin

I have this container:

    Container(
            margin: EdgeInsets.only(left: 24, right: 24),
             )

I would like to test that it has that margin. I was trying with:

widget is Container && widget.margin == EdgeInsets.only(left: 24, right: 24),

but it doesn't work

Aucun commentaire:

Enregistrer un commentaire