Skip to content

Conversation

@marcossevilla
Copy link
Contributor

@marcossevilla marcossevilla commented Nov 23, 2021

Small refactor to StatefulWidget snippet to comply with the 'Avoid using private types in public APIs' lint.

Issue: When using the private class name of the state, this lint is triggered. This refactor will avoid this warning when writing StatefulWidgets.

Example:

Screen Shot 2021-11-22 at 11 00 42 PM

@Nash0x7E2
Copy link
Owner

Thank you for your contribution!

@Nash0x7E2 Nash0x7E2 merged commit 3b892f2 into Nash0x7E2:master Dec 19, 2021
@marcossevilla marcossevilla deleted the use-state-<T> branch December 21, 2021 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants