2021-09-09から1日間の記事一覧
error: Invalid constant value. (invalid_constant at [] lib/pages/.dart:64) どこかしらのconstを消すとエラー解消します。
Android Studioでコードのインデントを整えるショートカット(Mac) Android Studioでコードを整理するショートカット コードのインデントを整えるショートカット コードの改行を整えるショートカット は command + option + L です。
Dart error: The argument type 'String?' can't be assigned to the parameter type 'String'. (argument_type_not_assignable at [] lib/pages/top_page.dart:43) わたしはDart初心者です 上記のようなエラー String? imagePath; このように変数を定義して…
class Message{ String? message; Bool? isMe; DateTime? sendTime; Message({this.message,this.isMe,this.sendTime});}このコードを書いたらこうエラーが出ました。下記のようBoolのBを小文字にしたら解決しました class Message{ String? message; bool? …