Open A-bahattab opened 2 years ago
The code is still not updated!
Try
import 'package:meta/meta.dart';
@immutable
class Question {
final String questionText;
final bool questionAnswer;
const Question(this.questionText, this.questionAnswer);
}
Hi,
Does anyone know if there is a guide anywhere on how to migrate the code?
I am really struggling to get this app to work on the latest Android Studio.
Thanks a lot
To pass null fnctions
final void Function() onTap;
and the
@immutable
works also.
will you please upgrade your code... and migrate to new flutter? I just reach section 10 and i was build my code as a new project for every single app that you give us. i just take the assets and images from your reposirty. and i got stucked at section 9 cause the nullable saftey until i search about it so when i change the Color to Color? and int to int? the function biuldKey run as good. so please update your codes for new students. thank you.