transactionRef: "userid${DateTime.now().millisecondsSinceEpoch}", if i pass this then it returns
A more efficient solution is to split your build function into several widgets. This introduces a new context from which you can obtain the Scaffold. In this solution, you would have an outer widget that creates the Scaffold populated by instances of your new inner widgets, and then in these inner widgets you would use Scaffold.of().
and Transaction closed
if i pass any static string like , transactionRef: "1234",
then there is no any error and working fine...
i have to pass transactionRef unique thats why i am using datetime...but its not working...
same code working from last 2 months but suddenly its not working and returns Transaction closed
transactionRef: "userid${DateTime.now().millisecondsSinceEpoch}", if i pass this then it returns A more efficient solution is to split your build function into several widgets. This introduces a new context from which you can obtain the Scaffold. In this solution, you would have an outer widget that creates the Scaffold populated by instances of your new inner widgets, and then in these inner widgets you would use Scaffold.of(). and Transaction closed
if i pass any static string like , transactionRef: "1234", then there is no any error and working fine...
i have to pass transactionRef unique thats why i am using datetime...but its not working... same code working from last 2 months but suddenly its not working and returns Transaction closed