Open34

flutter memo memo

ねこみみだいまおうねこみみだいまおう

Dartのキャスト
asは失敗した場合Exceptionを飛ばしてくる。
のでisを使う。

// isでチェックするとそのif文の中ではチェックした型になっている
if (draggable is MemoData) {
}

// ガード節したい場合はこう。if文を抜けた以降でも一応キャストは成立しているっぽい……
if (draggable is! MemoData) {
}

// なんと呼ぶのかいまいち出てこなかったけど、こういう感じで別の変数として扱えるとうれしい
// isでチェックした後にasでキャストすればよいが、二回もキャストするのはちょっと……
if (draggable is MemoData memoData) {
}
ねこみみだいまおうねこみみだいまおう

ブラウザのタブがこんなことになってたので整頓

https://api.flutter.dev/flutter/foundation/LicenseRegistry-class.html
https://api.flutter.dev/flutter/material/DropdownButton-class.html
https://api.flutter.dev/flutter/material/DropdownMenu-class.html
https://api.flutter.dev/flutter/widgets/AnimatedAlign-class.html
https://api.flutter.dev/flutter/widgets/GridView-class.html
https://backport.net/blog/2020/04/18/flutter_license_registry_add_license/
https://blog.seiichirou.jp/posts/dynamic-theme/
https://codewithandrea.com/articles/flutter-project-structure/
https://dev.classmethod.jp/articles/intro_flutter_widget_animatedcontainer/
https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site
https://engawapg.net/android/1667/m3-color-theme/
https://flutter.ctrnost.com/basic/animation/implicitlyanimated/
https://flutter.ctrnost.com/basic/layout/gridview/
https://flutter.salon/flutter/material3color/
https://flutter.salon/plugin/pub-version-plus/
https://flutterlabo.tech/widget-catalog/AnimatedScale
https://github.com/mchome/flutter_colorpicker
https://itome.team/blog/2019/12/flutter-advent-calendar-day15/
https://m3.material.io/styles/color/roles
https://medium.com/flutter-jp/implicit-animation-b9d4b7358c28
https://medium.com/flutter-jp/transition-9c57528c84b8
https://nobushiueshi.com/flutter_copyright/
https://note-tmk.hatenablog.com/entry/2022/08/05/013401
https://note.com/hatchoutschool/n/n45e28fdafb35
https://nzigen.com/reference/flutter/2018-04-30-animation/
https://pub.dev/
https://pub.dev/packages/cider
https://pub.dev/packages/elastic_drawer
https://pub.dev/packages/flutter_spinkit
https://pub.dev/packages/package_info_plus/example
https://pub.dev/packages/package_info_plus/install
https://qiita.com/coka__01/items/30716f42e4a909334c9f
https://qiita.com/JunichiHashimoto/items/1b0d2aa7e8cf97908a73
https://qiita.com/kurun_pan/items/5112b72e618002a93939
https://qiita.com/nashitake/items/57ec6f967f3f84e7c988
https://qiita.com/nashitake/items/f5c486d573d715249268
https://qiita.com/peaceiris/items/d401f2e5724fdcb0759d
https://qiita.com/piyonakajima/items/e0daab01da392bebb596
https://qiita.com/smsmsy_dev/items/dc2aab25e33f6adf8cff
https://qiita.com/tabe_unity/items/4c0fa9b167f4d0a7d7c2
https://qiita.com/ume-bar/items/974b51d159b9b53bb550
https://qiita.com/youmeee/items/bc2da00af12cce38a54f
https://riverpod.dev/docs/concepts/about_code_generation
https://riverpod.dev/docs/concepts/providers
https://riverpod.dev/docs/essentials/do_dont
https://riverpod.dev/ja/docs/providers/provider
https://riverpod.dev/ja/docs/providers/state_notifier_provider
https://shiro-changelife.com/flutter-listview-horizontals/
https://stackoverflow.com/questions/47032262/flutter-dropdownbutton-overflow
https://stackoverflow.com/questions/50293503/how-to-set-the-width-and-height-of-a-button-in-flutter
https://zenn.dev/10_tofu_01/articles/adopt_material_color_generotor
https://zenn.dev/altiveinc/articles/theme-selector-with-riverpod-statenotifier
https://zenn.dev/channel/articles/ed49e1ee8c3456
https://zenn.dev/flutteruniv_dev/articles/10492c3884a45a
https://zenn.dev/flutteruniv_dev/articles/riverpod_generator_in_action
https://zenn.dev/inari_sushio/articles/98b1ee55aadd12
https://zenn.dev/miyaken12/articles/57c2a141d318d3
https://zenn.dev/ryo7/articles/flutter-widget-gridview-builder
https://zenn.dev/ryota_iwamoto/articles/first_develop_with_riverpod_freezed_hooks_firebase
https://zenn.dev/sugitlab/articles/772e107b515908
https://zenn.dev/tama8021/articles/dbc931e23120bb
https://zenn.dev/tsukatsuka1783/articles/flutter_various_tips
https://zenn.dev/tsuruo/articles/017e405b21412f
https://zenn.dev/web_tips/articles/530d02aaf90400
https://zenn.dev/zozotech/articles/f2509a21b768ed