-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Course is not up to date #51
Comments
Especially with the Flutter 2.0 update, the whole course needs an update. |
I faced some issues in the audioplayers package and solved it by editing the build.gradle file and the version in the pubspec.yaml. |
I also faced issues in the audiocache package so I migrated the mipmap files as well as the asset folder into the new flutter project. Also I discovered that import audiocache wasn't working , so I used audioplayers instead and the AudioCache() constructor works in that too. |
It might also be a good idea to do an update for Null Safety |
Yea, the new TextButton widget is a bit tricky with the required child element as Text and the MaterialStateProperty for colors. Had to figure it out after a bit documentation reading. However, thats what Angela is stressing in her course also. I think the key is to keep probing the documentation and become expert with practice and reading after you are done with this course. |
Well said @anandarora It is a little tricky to get everything to work right, and given that it says 2021 in the title I can see why people are upset. However, Flutter is moving FAST and I would argue it's gonna be hard for courses to keep up due to how quickly Google's Flutter team is working on things. I want Flutter to be the best in the industry because I come from a web development background, but as with any new technology.. you have to learn to update packages and keep up with changes in versions. I'd say that's a large part of the reason why developers are still employed. |
I also struggled with this problem! I just today figured it out. For the last day I've been trying to migrate the project to Android v2 embedding using Flutter's process (this was the error I kept receiving when I would try to run). Nothing would work. I didn't think to consider that the project file I downloaded from AppBrewery's github was outdated. This ended up being the problem. This is the link that eventually helped me. Specifically, the reply from 'alwaysaditi'. I did all of these steps, and it is working just fine for me! I hope this helps: https://githubmemory.com/repo/londonappbrewery/xylophone-flutter/issues/32 |
Only at some points, you may feel it's not up to date like FlatButton, accent color, etc. are deprecated. I recommend you to not wholely depend on the course and along with go through the documentation. |
Even the links for the documentation is all outdated For example I tried to go to the scaffold documentation listed and it doesn't even work. The new link is: https://api.flutter.dev/flutter/material/Scaffold-class.html |
please how did you go about the issue with the audiocache, i used import audioplayers/audioplayers.dart and in my code i used player.setSource(AssetSource('note1.wav')); but the sound isnt still playing and the code is all green(working) |
Sadly, the course is not up to date anymore and hardly deserves the 2021 in the title(the reason I bought it). There are a lot of compatibility issues in pretty much every lecture. Is there any real update planned for the course or should I just stop.
The text was updated successfully, but these errors were encountered: