-Vscode 작성시 : 사용자 설정 -> "Flutter run additional args" 검색 후
--no-sound-null-safety 추가
-Android studio : Run -> Edit Configurations -> Additional run args에
--no-sound-null-safety 추가
ex1)
VoidCallback tap; -> VoidCallback? tap;
String text; -> String? text;
int index; -> int? index;
double width; -> double? width;
bool answerState; -> bool? answerState;
ex2) e.data()['myFieldOne'] -> (e.data() as dynamic)['myFieldOne'] or widget.width 0.048 -> (widget.width as dynamic) 0.048
ex1) final List< String >authors = json['authors']
에러내용 : type 'List< dynamic >' is not a subtype of type 'List< String >'
=> final List< String > authors = json['authors']?.cast< String >()