dynamic_widget icon indicating copy to clipboard operation
dynamic_widget copied to clipboard

Already implement a custom parser but where I need to add it

Open tonyhart7 opened this issue 3 years ago • 4 comments

image is I must put it before main() or I can just put it at build page ? @dengyin2000

tonyhart7 avatar May 30 '22 07:05 tonyhart7

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

tonyhart7 avatar May 30 '22 12:05 tonyhart7

update: depends on how deep widget tree you send as json

dynamic json build method take a while in response to state changes

tonyhart7 avatar Jun 04 '22 13:06 tonyhart7

any code before you use it.

dengyin2000 avatar Jun 06 '22 02:06 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

no, it doesn't support

dengyin2000 avatar Jun 06 '22 02:06 dengyin2000