CustomAppBar issues
osama3101995 opened this issue · 2 comments
osama3101995 commented
I have been able to fix almost all of the 2.2.0 flutter migration issues. However, I cannot for the life of mine, fix this. Is anyone else recieving the issue on PreferredSize?
Error: The superclass 'PreferredSize' doesn't have a zero argument constructor.
Not sure what I should do to fix it?
69-69 commented
Remove the @ from the required
CustomAppBar({@required this.rating});
Implementclass CustomAppBar extends StatelessWidget implements PreferredSizeWidget {
instead thisclass CustomAppBar extends PreferredSize {
And it done
abuanwar072 commented
The recent commit fixed it!