I'm new to Dart/Flutter and working on correcting some linting errors I'm getting in my code. The error library_private_types_in_public_api is flagged by the flowing line of code:
_ActiveEstimateListScreenState createState() =>
_ActiveEstimateListScreenState(estimates: estimates);
After reviewing the FLutter Github I see that this should be correct to:
<State>ActiveEstimateListScreen createState() =>
_ActiveEstimateListScreenState(estimates: estimates);
But I am still getting the following error:
And here is the surrounding code for reference.
Any help is appreciated!