flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
162.19k stars 26.64k forks source link

Add default arguments to `AnimatedPhysicalModel` #147424

Closed nate-thegrate closed 1 week ago

nate-thegrate commented 2 weeks ago

Currently, PhysicalModel has default arguments for shape and elevation, but AnimatedPhysicalModel does not.

This pull request makes both classes consistent.

Hixie commented 2 weeks ago

We should still test this, ideally (checking that there is a default and that it's the one we expect).

nate-thegrate commented 1 week ago

Guess who's able to add labels now 😎😎😎

goderbauer commented 1 week ago

Guess who's able to add labels now 😎😎😎

🥳 Welcome to flutter-hackers!