Already implement a custom parser but where I need to add it
is I must put it before main() or I can just put it at build page ? @dengyin2000
and lastly I want to change color of widget build from json and so I must change the property of widget parser right this can possible by implementing a state inside a widget parser in bloc code
so I pass my state of app to every single parser and do conditional change in every parser seems very excessive but in the ends its very worth it, maybe someone has better idea than me please let me know
update: depends on how deep widget tree you send as json
dynamic json build method take a while in response to state changes
any code before you use it.
and lastly I want to change color of widget build from json and so I must change the property of widget parser right this can possible by implementing a state inside a widget parser in bloc code
so I pass my state of app to every single parser and do conditional change in every parser seems very excessive but in the ends its very worth it, maybe someone has better idea than me please let me know
no, it doesn't support