4Q-s-r-o / signature

Flutter plugin that creates a canvas for writing down a signature
MIT License
255 stars 85 forks source link

fixed drawing outside of boundaries #62

Closed madsane29 closed 2 years ago

Bungeefan commented 2 years ago

It seems like this change also made it impossible to update the width and height of the widget after the first build call. What was the reasoning behind putting the widget variables in the initState method?

madsane29 commented 2 years ago

To be honest I never thought about someone gonna change the size of it dynamically. DId you try it with using setstate?

Bungeefan commented 2 years ago

No, I am just providing "new" sizes in my build method. Then different question, any reason for keeping it in the init State?