2023-05-01から1ヶ月間の記事一覧
今更ながらFlutterの画面遷移にNavigator 2.0なるものがあった。 状態の変化で遷移するものっぽい。
バッジのパッケージアニメを切る badges.Badge( badgeAnimation: const badges.BadgeAnimation.slide( toAnimate: false, ),
コンストラクタで BottomNavigation({ Key? key, }) : super(key: key); が BottomNavigation({ super.key, }); https://dart-lang.github.io/linter/lints/use_super_parameters.html
json.decode(utf8.decode(jsonNativeData)) as List<Map<String, dynamic>?>;でエラーになる。 Listを直接asでキャストできないようだ・・。 こうする。 List<Map<String, dynamic>?>? res; try { final dynamicList = json.decode(utf8.decode(jsonNativeData)) as List<dynamic>; // List<dynamic>型をList<Map<String, dynamic>?>型に変換す</map<string,></dynamic></dynamic></map<string,></map<string,>…
DartのRealmのrealm.deleteAll();で以下のエラー Realm error : Object type RealmObject not configured in the current Realm's schema. Add type RealmObject to your config before opening the Realm
https://github.com/xtekky/gpt4free/issues/283#issuecomment-1535554788 streamlit_chat_app版でやりたい gpt4free フォルダ内で Docekerfileをこうする。 FROM python:3.11 as builder WORKDIR /usr/app ENV PATH="/usr/app/venv/bin:$PATH" #RUN apt-get…
I will grow my beard. 喜んでる感じ I will bear my beard. tolerate(許容する)感じ
GitHub - xtekky/gpt4free: decentralising the Ai Industry, just some language model api's... これをクローン git clone https://github.com/xtekky/gpt4free cd gpt4free Dockerfileとか付属してるので ビルド docker build -t gpt4free:latest . 僕が…