エラー対策

エラー対策

【Flutter】「項目 “Runner” が使用中のため、操作を完了できません。」エラーでゴミ箱からFlutterプロジェクトを完全削除できない場合の対策

Mac環境で「項目 "Runner" が使用中のため、操作を完了できません。」と表示されてゴミ箱からFlutterプロジェクトを完全削除できない原因と対策について紹介します。
エラー対策

【Flutter】「The method ‘FlatButton’ isn’t defined for the type」の原因と対策

Flutterのエラー「The method 'FlatButton' isn't defined for the type」の原因と対策について紹介します。
エラー対策

【Flutter】「The method ‘RaisedButton’ isn’t defined for the type」の原因と対策

Flutterのエラー「The method 'RaisedButton' isn't defined for the type」の原因と対策について紹介します。
エラー対策

【Flutter】「The getter ‘buttonColor’ isn’t defined for the type ‘ThemeData’.」の原因と対策

Flutterのエラー「The getter 'buttonColor' isn't defined for the type 'ThemeData'.」の原因と対策について紹介します。
エラー対策

【Flutter】「The getter ‘accentColor’ isn’t defined for the type ‘ThemeData’.」の原因と対策

Flutterのエラー「The getter 'accentColor' isn't defined for the type 'ThemeData'.」の原因と対策について紹介します。
エラー対策

【Flutter】「Target aot_android_asset_bundle failed: IconTreeShakerException: Font subsetting failed with exit code -9.」の意味と対策

Flutterのエラー「Target aot_android_asset_bundle failed: IconTreeShakerException: Font subsetting failed with exit code -9.」に...
エラー対策

【Flutter】「The method ‘showSnackBar’ isn’t defined for the type ‘ScaffoldState’. 」の意味と対策

Flutterのエラー「The method 'showSnackBar' isn't defined for the type 'ScaffoldState'. 」の意味と対策について紹介します。
エラー対策

【Flutter】「The method ‘[]’ can’t be unconditionally invoked because the receiver can be ‘null’.」の意味と対策

Flutterのエラー「The method '[]' can't be unconditionally invoked because the receiver can be 'null'.」の意味と対策について紹介します。
エラー対策

【Flutter】「The class ‘List’ doesn’t have an unnamed constructor.」の意味と対策

Flutterのエラー「The class 'List' doesn't have an unnamed constructor.」の意味と対策について紹介します。
エラー対策

【Flutter】「Non-nullable instance field ‘XX’ must be initialized」の意味と対策

Flutterのエラー「Non-nullable instance field ‘XX’ must be initialized」の意味と対策について紹介します。