-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Closed
Copy link
Labels
c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterc: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Use case
When creating a new project from the skeleton template flutter create -t skeleton project_name . It works as intended but it uses AnimatedBuilder to listen to the ChangeNotifier, recently ListenableBuilder has come to stable, which provides the same functionality that AnimatedBuilder but, and I quote "has a more friendly name for the class and for the parameter that it listens to, intended to make it more discoverable and less confusing for new users." as per #116543 .
Proposal
Update the template to use ListenableBuilder instad of AnimatedBuilder. Tests should remain the same without the need for new ones as the functionality will be identical after the change.
Metadata
Metadata
Assignees
Labels
c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterc: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.