VxBuilder(
builder: (context, _) {
return '\$${_cart.totalPrice}'
.text
.xl4
.color(Theme.of(context).accentColor)
.make();
},
mutations: {RemoveMutation},
),
VxBuilder is having some issues when I upgrade it to 2.5.0
CodePudding user response:
From Documentation VxBuilder
requires builder
as
Function(BuildContext context, T store, VxStatus? status)
Therefore you need to pass three parameters in builder
constructor.