I am using signature v5.4.1 and I am not able to use the _controller.isNotEmpty() or _controller.isEmpty() to constantly listen for whether the signature pad has been signed or not as user signs.
I notice that _controller.isEmpty()_controller.isNotEmpty() are only updated when the app completely refreshes/reloads.
Below is my workaround attempt, where I have to use a ValueListenableBuilder to listen for the value change when the user has completed drawing. I have referred to the official docs but the official example does not describe my use case.
I realise this is not raising a bug issue (unless someone else also experiences this), but would like to reach out to the development team and the wider community for a best practices approach to using signature.
I am using signature v5.4.1 and I am not able to use the
_controller.isNotEmpty()
or_controller.isEmpty()
to constantly listen for whether the signature pad has been signed or not as user signs.I notice that
_controller.isEmpty()
_controller.isNotEmpty()
are only updated when the app completely refreshes/reloads.Below is my workaround attempt, where I have to use a
ValueListenableBuilder
to listen for the value change when the user has completed drawing. I have referred to the official docs but the official example does not describe my use case.I realise this is not raising a bug issue (unless someone else also experiences this), but would like to reach out to the development team and the wider community for a best practices approach to using
signature
.Thank you kindly for reading 🙏🏼